﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Xml.Linq;
using Newtonsoft.Json;
using Throw_In.Resources;

namespace Throw_In.ViewModels
{
    public class AllDataModel : INotifyPropertyChanged
    {
        public AllDataModel()
        {
            this.Items = new ObservableCollection<ItemViewModel>();
            this.Internasional = new ObservableCollection<ItemViewModel>();
            this.Timnas = new ObservableCollection<ItemViewModel>();
            this.Bolatainment = new ObservableCollection<ItemViewModel>();
            this.Funatik = new ObservableCollection<ItemViewModel>();
            this.News = new ObservableCollection<ItemViewModel>();
            this.Highlight = new ObservableCollection<ItemViewModel>();
            this.Fans = new ObservableCollection<ItemViewModel>();
            this.BolalobTV = new ObservableCollection<ItemViewModel>();
            this.Bookmarks= new ObservableCollection<ItemViewModel>();
            this.RecentItems = new ObservableCollection<ItemViewModel>();
            this.InfoItems = new ObservableCollection<ItemViewModel>();
            this.AllItems= new ObservableCollection<ItemViewModel>();
            this.Team = new ObservableCollection<ItemViewModel>();
            this.Player = new ObservableCollection<PlayerModel>();
        }

        /// <summary>
        /// A collection for ItemViewModel objects.
        /// </summary>
        public ObservableCollection<ItemViewModel> Items { get; private set; }
        public ObservableCollection<ItemViewModel> Internasional { get; private set; }
        public ObservableCollection<ItemViewModel> Timnas { get; private set; }
        public ObservableCollection<ItemViewModel> Bolatainment{ get; private set; }
        public ObservableCollection<ItemViewModel> Funatik { get; private set; }
        public ObservableCollection<ItemViewModel> News { get; private set; }
        public ObservableCollection<ItemViewModel> Highlight { get; private set; }
        public ObservableCollection<ItemViewModel> Fans { get; private set; }
        public ObservableCollection<ItemViewModel> BolalobTV { get; private set; }
        public ObservableCollection<ItemViewModel> Bookmarks { get; private set; }
        public ObservableCollection<ItemViewModel> RecentItems { get; private set; }
        public ObservableCollection<ItemViewModel> InfoItems { get; private set; }
        public ObservableCollection<ItemViewModel> AllItems { get; private set; }

        public ObservableCollection<ItemViewModel> Team { get; private set; }
        public ObservableCollection<PlayerModel> Player { get; private set; }

        private string _sampleProperty = "Sample Runtime Property Value";
        /// <summary>
        /// Sample ViewModel property; this property is used in the view to display its value using a Binding
        /// </summary>
        /// <returns></returns>
        public string SampleProperty
        {
            get
            {
                return _sampleProperty;
            }
            set
            {
                if (value != _sampleProperty)
                {
                    _sampleProperty = value;
                    NotifyPropertyChanged("SampleProperty");
                }
            }
        }

        public void insertBookmarks(ItemViewModel items)
        {
            Bookmarks.Insert(0,items);
            if (Bookmarks.Count > 6)
                Bookmarks.RemoveAt(6);
        }
        public void insertRecent(ItemViewModel items)
        {
            foreach (var item in RecentItems)
            {
                if (item.Id == items.Id)
                    return;
            }
            RecentItems.Insert(0, items);
            if (RecentItems.Count > 6)
                RecentItems.RemoveAt(6);
        }
        /// <summary>
        /// Sample property that returns a localized string
        /// </summary>
        public string LocalizedSampleProperty
        {
            get
            {
                return AppResources.SampleProperty;
            }
        }

        public ObservableCollection<ItemViewModel> getSearch(string text)
        {
            ObservableCollection<ItemViewModel> retVal = new ObservableCollection<ItemViewModel> ();
            foreach (var item in AllItems)
            {
                if (item.Title.ToLower().Contains(text.ToLower()))
                    retVal.Add(item);
                else if(item.Content.ToLower().Contains(text.ToLower()))
                    retVal.Add(item);
            }
            return retVal;
        }

        public bool IsDataLoaded
        {
            get;
            private set;
        }

        private string cutUselessChar(string text)
        {
            string retVal = text;
            retVal = retVal.Replace("<p>", "");
            retVal = retVal.Replace("</p>", "");
            retVal = retVal.Replace("<em>", "");
            retVal = retVal.Replace("</em>", "");
            return retVal;
        }
        public ObservableCollection<ItemViewModel> getRandomInfo()
        {
            ObservableCollection<ItemViewModel> retVal = new ObservableCollection<ItemViewModel>();
            ObservableCollection<ItemViewModel> temp = new ObservableCollection<ItemViewModel>();
            foreach (var item in InfoItems)
            {
                temp.Add(item);
            }
            Random rand = new Random();
            int randomVal= 0;
            while (retVal.Count < 6)
            {
                randomVal = rand.Next(temp.Count);
                retVal.Add(temp[randomVal]);
                temp.RemoveAt(randomVal);
            }
            return retVal;
        }
        public ObservableCollection<ItemViewModel> getRelated(string id)
        {
            ObservableCollection<ItemViewModel> retVal = new ObservableCollection<ItemViewModel>();
            ObservableCollection<ItemViewModel> temp = new ObservableCollection<ItemViewModel>();
            foreach (var item in AllItems)
            {
                temp.Add(item);
            }
            Random rand = new Random();
            int randomVal = 0;
            while (retVal.Count < 6)
            {
                randomVal = rand.Next(temp.Count);
                if ( temp[randomVal].Id != id)
                {
                    retVal.Add(temp[randomVal]);
                    temp.RemoveAt(randomVal);
                }
            }
            return retVal;
        }

        /// <summary>
        /// Creates and adds a few ItemViewModel objects into the Items collection.
        /// </summary>
        /// 
        public class Breadcrumb
        {
            public string id { get; set; }
            public string name { get; set; }
        }

        public class Datum
        {
            public string id { get; set; }
            public string title { get; set; }
            public string summary { get; set; }
            public string pubdate { get; set; }
            public string image { get; set; }
            public List<Breadcrumb> breadcrumb { get; set; }
        }

        public class RootObject
        {
            public List<Datum> data { get; set; }
            public List<string> paging { get; set; }
        }


        public class DatumTeam
        {
            public string id { get; set; }
            public string team { get; set; }
            public string logo { get; set; }
            public string summary { get; set; }
            public string pubdate { get; set; }
            public List<Breadcrumb> breadcrumb { get; set; }
            public string photo { get; set; }
        }

        public class RootObjectTeam
        {
            public List<DatumTeam> data { get; set; }
            public List<string> paging { get; set; }
        }
        public void LoadData()
        {
            string inputString = @"
                [{""data"":[{""id"":""16833"",""name"":""Lionel Messi"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/11/05/837d66750eea9cf97cf5fabe851f1788.jpg&zc=1"",""summary"":""Lionel Messi"",""pubdate"":""1352106206"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""16832"",""name"":""Aritz Aduriz"",""summary"":""Aritz Aduriz"",""pubdate"":""1352105239"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""12532"",""name"":""Antonio Cassano"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/05/22/dac4570a4c457c0f0e1061a97562fb06.jpg&zc=1"",""summary"":""Saatnya bagi Antonio Cassano unjuk kebolehan. Setelah lama tak masuk timnas karena disingkirkan Marcello Lippi, dia justru mendapat kesempatan dari pelatih baru, Cesare Prandelli."",""pubdate"":""1337673423"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""20"",""name"":""World Football""},{""id"":""117"",""name"":""Euro 2012""},{""id"":""127"",""name"":""Pemain Bintang""}]},{""id"":""9654"",""name"":""Pedro Rodr\u00edguez Ledesma"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/052c8514565f54d8a8bd0e09d8d7de98.jpg&zc=1"",""summary"":""Klub"",""pubdate"":""1326789303"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9652"",""name"":""Alexis Alejandro S\u00e1nchez"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/81eb1bdfb88c2e585a45d851b9228bf5.jpg&zc=1"",""summary"":""Alexis Alejandro Sanchez Sanchez atau yang lebih sering dikenal Alexis Sanchez adalah seorang pemain sepak bola profesional yang berasal dari Chile. Ia lahir pada tanggal…"",""pubdate"":""1326789009"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9651"",""name"":""Jonathan Dos Santos"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/f994d81969c9297fd68ef3525c29f382.jpg&zc=1"",""summary"":""Jonathan Dos Santos"",""pubdate"":""1326788710"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9650"",""name"":""Adriano Correia Claro"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/e6510bbd2c92e540c67afb892d44dba6.jpg&zc=1"",""summary"":""Adriano"",""pubdate"":""1326788415"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9649"",""name"":""Ibrahim Afellay"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/4b7b5bbfcc76e261f51fd86fbf2c06d0.jpg&zc=1"",""summary"":""Ibrahim Afellay (lahir di Utrecht, 2 April 1986; umur 25 tahun) adalah seorang pesepakbola kewarganegaraan Belanda beragama Islam yang keluarganya berasal dari Maroko , yang sekarang memperkuat Barcelona. Ia berposisi sebagai pemain tengah (Gelandang) atau Penyerang.Ia juga memperkuat Belanda pada Piala Dunia FIFA 2010."",""pubdate"":""1326787463"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""127"",""name"":""Bintang Lapangan""}]},{""id"":""9648"",""name"":""Seydou Keita"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/44056097e80c5a771caa5a4a889e5ccb.jpg&zc=1"",""summary"":""Seydou Keita lahir pada 16 Januari 1980 di Bamako, dia adalah pesepakbola Malian yang bermain bersama FC Barcelona dan Timnas Malian. Dia bisa bermain sebagai pemain bertahan dan penyerang."",""pubdate"":""1326786858"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9647"",""name"":""Javier Mascherano"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/a91f975fc619ffdfcc5847a2255c910c.jpg&zc=1"",""summary"":""Pada awalnya dia bergabung bersama Liverpool hanya sebagai pemain pinjaman dari Media Sports Investments pada Januari 2007 dan setahun kemudian, tepatnya Februari 2008 dia dikontrak…"",""pubdate"":""1326786497"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9646"",""name"":""Thiago Alc\u00e1ntara"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/0836c950e0f32412f4798ac6eb5355e6.jpg&zc=1"",""summary"":""Thiago"",""pubdate"":""1326784861"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9645"",""name"":""Martin Montoya Torralbo"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/af412730fd9d152c585d13643ab831be.jpg&zc=1"",""summary"":""Montoya"",""pubdate"":""1326784378"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9644"",""name"":""Andreu Fontas Prat"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/3c100905390b802a2f51f282a49cc16c.jpg&zc=1"",""summary"":""Andreu Fontas Prat"",""pubdate"":""1326783950"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9643"",""name"":""\u00c9ric Abidal"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/71910695f8ced20b8ee304b2ec93b151.jpg&zc=1"",""summary"":""Eric Abidal adalah pemain sepak bola profesional kelahiran 11 September 1979 di Lyon, Prancis. Saat ini pemain berposisi sebagai bek kiri itu bermain di Liga…"",""pubdate"":""1326783391"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9641"",""name"":""Sergio Busquets Burgos"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/e0ac93941f38cf0e6587512d54a2f885.jpg&zc=1"",""summary"":""Sergio Busquets Burgos"",""pubdate"":""1326782795"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9640"",""name"":""Daniel Alves da Silva"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/17/c72ab6a2e1250859b2b2811ec8b7b75a.jpg&zc=1"",""summary"":""Pemain yang memiliki nama lengkap Daniel Alves da Silva ini lahir pada 6 Mei 1983 di Juazeiro, Brasil, dan lebih dikenal dengan nama Dani Alves.…"",""pubdate"":""1326782104"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9351"",""name"":""V\u00edctor Vald\u00e9s Arribas"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/03/d8ec24ea3d2d5ff08a4d9efe89b54b53.jpg&zc=1"",""summary"":""Victor Valdes Arribas (lahir di Hospitalet de Llobregat, Katalonia, Barcelona, Spanyol, 14 Januari 1982; umur 29 tahun; populer dengan nama Victor Valdes atau Valdes saja) adalah seorang kiper yang sekarang bermain untuk tim FC Barcelona dalam kompetisi La Liga.Vald?s bermain untuk Barcelona selama pertandingan melawan Mallorca"",""pubdate"":""1325579722"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9350"",""name"":""David Villa S\u00e1nchez"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/03/11767067fac4f7efca077ab0fd756e5c.jpg&zc=1"",""summary"":""Spanyol di Piala Eropa 2012 memerlukan tenaga David Silva untuk mengulang kejayaannya di persaingan antar negara tersebut.\nDavid Villa pernah bermain untuk Sporting Gijon B sejak 1999 hingga 2001. Kemudian, ia bermain di tim utama klub tersebut sejak 2001 hingga 2003. Lalu, ia bermain untuk Real Zaragoza hingga tahun 2005, sebelum kembali pindah, dan bermain untuk Valencia. Sejak 2010 hingga saat ini, David Villa bermain untuk Barcelona."",""pubdate"":""1325574968"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""127"",""name"":""Bintang Lapangan""}]},{""id"":""9349"",""name"":""Gerard Piqu\u00e9 Bernabeu"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/03/1f8dda672d6b9a5ed8d45ec44955149a.jpg&zc=1"",""summary"":""Gerard Pique Bernebeu atau yang lebih dikenal dengan nama Gerard Pique adalah pemain sepak bola Barcelona yang juga anggota tim nasional Spanyol. Pemain berposisi sebagai bek tengah tersebut lahir di Barcelona pada 2 Pebruari 1987."",""pubdate"":""1325574395"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""9348"",""name"":""Xavier Hern\u00e1ndez Creus"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=players/2012/01/03/02910e77da38eb0fd16e45c1ba7f6c6f.jpg&zc=1"",""summary"":""Xavier Hernandez i Creus atau yang lebih dikenal dengan nama pendek Xavi adalah pemain sepak bola profesional kelahiran Terrassa, Barcelona, 25 Pebruari 1980. Xavi yang berposisi sebagai playmaker telah lebih dari 70 kali memperkuat Spanyol, turut membawa Tim Matador menjuarai Piala Eropa 2008, dan dinobatkan sebagai pemain terbaik Piala Eropa 2008."",""pubdate"":""1325573601"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/players/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/20"",""3|http://www.bolalob.com/api.php/players/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/40"",""Next|http://www.bolalob.com/api.php/players/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/20"",""Last|http://www.bolalob.com/api.php/players/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/60""]}]";
            Player = new ObservableCollection<PlayerModel>();
            var root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                System.Diagnostics.Debug.WriteLine("asd");
                foreach (var dat in item.data)
                {
                    PlayerModel model = new PlayerModel();
                    model.Id= dat.id;
                    model.Title = dat.title;
                    model.Image = dat.image;
                    Player.Add(model);
                }
            }
            // internasional
            inputString = @"
                [{""data"":[{""id"":""16866"",""team"":""Shakhtar Donetsk"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/11/06/3c6cbde1ab2253f56259350a57e18b5e.png&zc=1"",""summary"":""Shakhtar Donetsk adalah klub profesional Ukraina yang bermarkas di kota Donetsk. Klub ini menjadi yang pertama dari Ukraina yang berhasil merebut gelar juara UEFA Cup…"",""pubdate"":""1352178310"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""21"",""name"":""Liga Champion""}]},{""id"":""16455"",""team"":""Anzhi Makhachkala"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/10/23/71969c26181ff7c61e0cafe3ec3eba82.png&zc=1"",""summary"":""Anzhi Mkhachkala adalah klub sepakbola profesional dari Rusia yang bermarkas di kota Makhachkala, kota besar di Republik Dagestan Rusia."",""pubdate"":""1350964351"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""22"",""name"":""UEFA""}]},{""id"":""16454"",""team"":""Partizan Beograd"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/10/23/f0adae4eade0a9afd874d97b97591374.png&zc=1"",""summary"":""Partizan Beograd adalah sebuah klub sepakbola profesional dari Serbia, Beograd?"",""pubdate"":""1350963773"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""26"",""name"":""Liga Lainnya""}]},{""id"":""16446"",""team"":""SMK N 1 Cibinong"",""photo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/10/22/a20f7844877ff1355384063f7c9d8063.jpg&zc=1"",""summary"":""Skuad yang dimainkan para Turnamen AntarSLTA Se-Jabodetabek Universitas Nasional (UNASPHERE) 2012."",""pubdate"":""1350915930"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""116"",""name"":""Klub""}]},{""id"":""15644"",""team"":""Universitas Bung Karno"",""summary"":""Universitas Bung Karno memiliki tim futsal yang tangguh. Untuk pertama kalinya mereka akan bersaing di Liga Futsal Mahasiswa (Lifuma) 8/2012 dan masuk ke Divisi Satu."",""pubdate"":""1348484085"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""161"",""name"":""Lifuma""}]},{""id"":""15643"",""team"":""Politeknik Negeri Jakarta"",""summary"":""Tim futsal Politeknik Negeri Jakarta (PNJ) merupakan pendatang baru di persaingan Liga Futsal Mahasiswa Jakarta. mulai ikut pada Lifuma 8/2012."",""pubdate"":""1348483971"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""161"",""name"":""Lifuma""}]},{""id"":""15517"",""team"":""Young Boys Bern"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/20/57ff4a2ab3d9b11deadd356173789c15.png&zc=1"",""summary"":""Berner Sport Club Young Boys 1898 adalah klub Swiss yang bermarkas di kota Bern."",""pubdate"":""1348118784"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""22"",""name"":""UEFA""}]},{""id"":""15264"",""team"":""Hongaria"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/10/24309ad8389f7cc6ae1e8319e3422711.png&zc=1"",""summary"":""Hongaria kini berusaha keras untuk lolos pra kualifikasi Piala Dunia 2014 zona Eropa."",""pubdate"":""1347275962"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""20"",""name"":""World Football""},{""id"":""156"",""name"":""Piala Dunia 2014""}]},{""id"":""15153"",""team"":""Georgia"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/05/0a4625b031f128bdf4f74cc237969b5e.png&zc=1"",""summary"":""Georgia tengah berusaha lolos dari babak kualifikasi Piala Dunia 2014 Brazil dari zona Eropa."",""pubdate"":""1346833745"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""111"",""name"":""Other""}]},{""id"":""15152"",""team"":""Moldova"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/05/ee98a2e9c91e0466915cd2bd84279f5e.png&zc=1"",""summary"":""Kini Moldova tengah berjuang lolos babak kualifikasi Piala Dunia 2014 Brazil dari zona Eropa."",""pubdate"":""1346833529"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""111"",""name"":""Other""}]},{""id"":""15151"",""team"":""Finlandia"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/05/beee74f8ec1163a5ded593cdf635d046.png&zc=1"",""summary"":""Kini tim Finlandia tengah berujuang untuk lolos babak kualifikasi Piala Dunia 2014 Brazil."",""pubdate"":""1346833390"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""111"",""name"":""Other""}]},{""id"":""15128"",""team"":""Sumatera Barat"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/9907a95e857668c1bc2017ab6e9b7294.jpg&zc=1"",""summary"":""Tim futsal Sumatera Barat"",""pubdate"":""1346753107"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15124"",""team"":""Jawa Barat"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/b4ee5bf9aba77e2a118736cdd7477f94.png&zc=1"",""summary"":""Tim futsal Jawa Barat"",""pubdate"":""1346752178"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15123"",""team"":""Kalimantan Selatan"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/121842299d1055a7a3d7c5c60f3ab956.jpg&zc=1"",""summary"":""Tim futsal Kalimantan Selatan"",""pubdate"":""1346752141"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15122"",""team"":""Sumatera Utara"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/0c532bb8f43b481e46c0333e1cd44ea1.png&zc=1"",""summary"":""Sumatera Utara"",""pubdate"":""1346752099"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15121"",""team"":""Riau"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/720c80bace71319389d8f67e0e85c738.jpg&zc=1"",""summary"":""Tim futsal Riau"",""pubdate"":""1346751652"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15120"",""team"":""Sumatera Selatan"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/232d1e753761131595ac8c654b26c54e.png&zc=1"",""summary"":""Tim futsal Sumatera Selatan"",""pubdate"":""1346751069"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15119"",""team"":""Gorontalo"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/5d9bd14d9625295bc6ad5278db5c33ca.jpg&zc=1"",""summary"":""Tim futsal Gorontalo"",""pubdate"":""1346750888"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15118"",""team"":""Jawa Tengah"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/ab830bc2956285954f03d7cbbc931906.jpg&zc=1"",""summary"":""Tim futsal Jawa Tengah"",""pubdate"":""1346750813"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]},{""id"":""15117"",""team"":""Papua"",""logo"":""http://www.bolalob.com/public/img/timthumb.php?src=teams/2012/09/04/157491fce2f4613fcba9592ea8e6664a.jpg&zc=1"",""summary"":""Tim futsal Papua"",""pubdate"":""1346750704"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""151"",""name"":""Futsal PON""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/teams/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/20"",""3|http://www.bolalob.com/api.php/teams/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/40"",""Next|http://www.bolalob.com/api.php/teams/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/20"",""Last|http://www.bolalob.com/api.php/teams/index/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/240""]}]
            ";
            Team = new ObservableCollection<ItemViewModel>();
            var root2 = JsonConvert.DeserializeObject<RootObjectTeam[]>(inputString);
            foreach (var item in root2)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.team;
                    model.Description = "";
                    model.Image = dat.logo;
                    Team.Add(model);
                }
            }

            // internasional
            inputString = @"
                [{""data"":[{""id"":""17723"",""title"":""Review Liga Inggris : Arsenal, Southampton, Dan Norwich City Meraih Kemenangan"",""summary"":""Pekan ke-16 Liga Inggris menjadi pekan yang menggembirakan bagi Arsenal, Southampton, dan Norwich City yang berhasil mengalahkan lawan-lawannya. Sementara Queens Park Rangers masih mencari kemenangan setelah kembali bermain imbang."",""pubdate"":""1355038440"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/ac6da21cbe99baf3267d665d2d1ad316.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""23"",""name"":""Liga Premiere""}]},{""id"":""17721"",""title"":""Roma Kangkangi Fiorentina Dalam pesta Gol 4-2"",""summary"":""Tuan rumah AS Roma berhasil mengalahkan tamunya Fiorentina dalam lanjutan Liga italia pekan ke-16 dengan skor 4-2. Dua gol dari Francesco Totti membawa Roma merangsek ke papan atas klasemen sementara."",""pubdate"":""1355037000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/c31b748f02e3f8e46c195b80161ab2cb.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17720"",""title"":""Preview Inter Milan vs Napoli : Akankah Napoli Kembali Nge-Bully Tuan Rumah?"",""summary"":""Partai seru akan tersaji di Stadion Giuseppe Meazza Senin dini hari nanti saat tuan rumah Inter Milan menjamu peringkat ke-2 klasemen sementara Napoli. Keduanya hanya…"",""pubdate"":""1355035320"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/7847ff841b251ae64c6b553ba1e6aadc.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17719"",""title"":""Preview Palermo vs Juventus : Akankah Tuah Tuan Rumah Kembali Bekerja ?"",""summary"":""Pekan ke-16 Liga Italia akan mempertemukan dua klub yang peringkatnya terpisah jauh antara bumi dan langit, Palermo di peringkat ke-17 akan menghadapi juara bertahan Juventus di peringkat pertama klasemen sementara Minggu malam ini."",""pubdate"":""1355033640"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/d11ee70b60f523836cd5cf46db8c8351.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17718"",""title"":""Preview Torino vs AC Milan : Upaya Tuan Rumah Menahan Laju El Shaarawy"",""summary"":""Liga Italia pekan ke-16 akan menyajikan partai antara tuan rumah Torino melawan AC Milan yang akan berlangsung Minggu malam nanti. Kedua tim membutuhkan kemenangan untuk…"",""pubdate"":""1355032320"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/90b988730dd2614c536821e24a320021.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17717"",""title"":""Jam Tangan Wasit Penentu Gol"",""summary"":""Teknologi garis gawang kini tengah dicoba oleh FIFA dalam Kejuaraan Dunia Antar Klub di Jepang. Bukan cuma tujuh kamera yang akan memantau terus, menetukan bola sudah masuk atau belum, wasit pun akan diberi kabar secepatnya lewat getaran dari jam tangan."",""pubdate"":""1355024452"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/8808d5ddd910df3d6fdddd6e0ef62fae.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17715"",""title"":""Preview Real Betis vs Barcelona; Barcelona Tanpa Messi ?"",""summary"":""Real Betis berada di jalur positif ketika berhasil mencuri poin dari Deportivo La Coruna kemarin. Kemenangan itu membuat Betis merangkak naik dan bertengger di posisi ke-5 klasemen sementara La Liga."",""pubdate"":""1355021640"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/cb07321ccb8a22ad8f1ae75912bd0444.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""17714"",""title"":""Preview Atletico Madrid vs Deportivo; Kembalinya Atletico Dari Kekalahan"",""summary"":""Atletico Madrid harus menderita kekalahan kedua mereka di La Liga ketika derbi kota Madrid dimenangkan tuan rumah, Real Madrid pekan lalu."",""pubdate"":""1355020255"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/f44b79cf0c3f9008b05eecd680966e39.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""17713"",""title"":""Review Pertandingan La Liga Jornada Ke-15 (Bag. 2)"",""summary"":""Berikut adalah review singkat pertandingan - pertandingan La Liga Spanyol jornada ke-15 yang berlangsung kemarin dan dini hari tadi."",""pubdate"":""1355019209"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/5eaf9f060ff5ca4cc1e5bae6f4f0ca12.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""17712"",""title"":""Review Pertandingan La Liga Jornada Ke-15 (Bag. 1)"",""summary"":""Berikut adalah review singkat pertandingan-pertandingan La Liga Spanyol jornada ke-15 yang berlangsung kemarin dan dini hari tadi.ESPANYOL 2 - 2 SEVILLATotal 9 kartu kuning dan…"",""pubdate"":""1355018467"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/cc1a3320466a1ca6ccc0caf65e9f6a78.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""17711"",""title"":""Torres Inspirasi Kemenangan Chelsea Atas Sunderland"",""summary"":""Rafael Benitez menikmati kemenangan perdananya di liga bersama Chelsea, dua gol Fernando Torres ke jala Sigmon Minolet membantu sang pelayih asal Spanyol tersebut mempersembahkan tri poin perdana kepada klub barunya."",""pubdate"":""1355017470"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/a521845e2be95a4a99ed05dda4ffde08.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""23"",""name"":""Liga Premiere""}]},{""id"":""17710"",""title"":""Preview, Manchester City vs Manchester United : Bukan Sekedar Derbi Biasa"",""summary"":""Preview, Manchester City vs Manchester United"",""pubdate"":""1355016511"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/1c9c1cb430e0c3d4e6b751a6264a54dc.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""23"",""name"":""Liga Premiere""}]},{""id"":""17706"",""title"":""Maxi Lopez : Masa Depan Vicenzo Montella Sangat Cerah Di Italia"",""summary"":""Penyerang Sampdoria Maxi Lopez memuji kinerja mantan pelatihnya di Catania Vicenzo Montella yang kini menangani Fiorentina. Menurutnya, masa depan Montella akan semakin cerah kedepannya terkait performa Fiorentina yang luar biasa."",""pubdate"":""1354953960"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/8eb6124c0faf11696a5f1263544780e1.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17705"",""title"":""Inter Telah Berbohong Terkait Cedera Sneijder ?"",""summary"":""Babak baru kisah Wesley Sneijder dan Inter Milan semakin memanas setelah sang istrinya Yolanthe ikut serta dengan mengungkapkan jika Sneijder tidaklah cedera."",""pubdate"":""1354952704"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/4152f1e471d6b2331ebc9a7f1f92be95.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17704"",""title"":""Preview AS Roma vs Fiorentina : Pembuktian Vicenzo Montella"",""summary"":""Liga Italia pekan ke-16 akan mempertemukan dua klub yang sedang baik performanya di papan atas klasemen sementara antara peringkat 4 Fiorentina melawan peringkat 6 AS Roma yang akan berlaga di Stadion Olimpico Roma."",""pubdate"":""1354949820"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/58ca77735d69aeb4787b8b72cf3d94fa.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""24"",""name"":""Seri A""}]},{""id"":""17703"",""title"":""Preview, Sunderland vs Chelsea : Tiga Poin Sebelum Lawatan Ke Jepang"",""summary"":""Preview, Sunderland vs Chelsea"",""pubdate"":""1354940940"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/5fdabcb662288ead015daf8d9b962778.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""23"",""name"":""Liga Premiere""}]},{""id"":""17702"",""title"":""Preview Osasuna vs Valencia; Pembuktian Konsistensi Los Che"",""summary"":""kemenangan atas Rayo Vallecano kemarin membuat Osasuna sedikit menjauh dari zona degradasi."",""pubdate"":""1354934700"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/259c937358abc5d96e7c88372a9faa14.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""17701"",""title"":""Preview Valladolid vs Real Madrid; Los Blancos Bidik Kemenangan"",""summary"":""Pelatih Real Madrid, Jose Mourinho mengistirahatkan beberapa pemain kunci Madrid saat mereka menjamu Ajax tengah pekan lalu."",""pubdate"":""1354933920"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/907d1f0ad0e7b7189b26333386896ae4.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""25"",""name"":""La Liga""}]},{""id"":""17700"",""title"":""Ini Dia 30 Pemain Termahal Dunia Saat Ini"",""summary"":""Begitu banyak pemain sepakbola profesional yang beredar, tapi hanya beberapa saja yang harganya sangat tinggi. Berikut hasil hitung-hitungan konsultan Brazil, Pluri Consultoria terhadap pemain-pemain dunia yang harga transfernya tinggi."",""pubdate"":""1354931880"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/d5cfcf8ef1f7e976bc7237df24dcbaf4.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""111"",""name"":""Other""}]},{""id"":""17699"",""title"":""Ferguson: Calon Juara Liga Inggris Cuma MU atau Man-City"",""summary"":""Liga Inggris musim ini nyaris setengah jalan, namun pelatih Manchester United Alex Ferguson sudah berani bicara bahwa juara musim ini hanya diperebutkan oleh dua klub: MU dan Manchester City."",""pubdate"":""1354926447"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/08/44e03a4354000767ce4b35e5c029b739.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""2"",""name"":""Internasional""},{""id"":""23"",""name"":""Liga Premiere""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/2/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/2/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/2/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/2/7680""]}]
            ";
            Internasional= new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                        ItemViewModel model = new ItemViewModel();
                        model.Url = "http://www.bolalob.com";
                        model.Id = dat.id;
                        model.Content = dat.summary;
                        model.View = Int32.Parse( dat.pubdate);
                        model.Title = dat.title;
                        model.Description = "";
                        model.Image = dat.image;
                        Internasional.Add(model);
                        AllItems.Add(model);
                    //System.Diagnostics.Debug.WriteLine(dat.id + " " + dat.title + " ");
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17693"",""title"":""Timnas PSSI Uji Coba di Kutai Timur"",""summary"":""Sejumlah pemain Tim Nasional (Timnas) PSSI dijadwalkan berkunjung ke Sangatta, Kabupaten Kutai Timur, Kalimantan Timur, untuk melakukan pertandingan persahabatan dengan Klub Lokal Sangatta FC."",""pubdate"":""1354876040"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/8317de2a846dbf887b962338ce1f4b9a.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17683"",""title"":""Andi Mundur Sebagai Menpora, Nasib PSSI Kian Tak Jelas"",""summary"":""Andi Mallarangeng Jumat (7/12/2012) mengundurkan diri dari jabatannya sebagai Menteri Pemuda dan Olahraga dengan alasan tidak ingin menjadi beban bagi pemerintahan Susilo Bambang Yudhoyono."",""pubdate"":""1354854566"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/7fa043b870e25765aea124bd77f111e9.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17203"",""title"":""12 Kerugian Jika PSSI Dihukum FIFA"",""summary"":""Sepakbola Indonesia kini ada di posisi lampu kuning di mata FIFA. Ini akibat kisruh dualisme PSSI dan kompetisi yang tidak juga selesai sampai November 2012.…"",""pubdate"":""1354851240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/941675a8467dadf936cb04f271f2ce75.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17669"",""title"":""PSSI Pilih Disanksi FIFA Daripada Damai Dengan KPSI"",""summary"":""Edan! Rupanya PSSI memilih untuk dibekukan oleh FIFA daripada berdamai dengan KPSI untuk mengadakan Kongres bersama sesuai keputusan Join Commitee (JC). Hal ini tercermin dari…"",""pubdate"":""1354797868"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/c0cc45b454b63592b409f7e34abbecf9.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17668"",""title"":""Kubu PSSI Djohar Menolak Verifikasi Peserta Kongres"",""summary"":""Kongres yang sedianya digelar bersama oleh PSSI dan KPSI kembali mentah, setelah kubu PSSI Djohar Arifin dalam hal ini Sekjen PSSI Halim Mahfudz menolak melakukan verifikasi terhadap pemilik suara sesuai KLB Solo 2011."",""pubdate"":""1354794480"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/6ca6841d920f02d79505b39de376b179.JPG&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17642"",""title"":""Guna Hindari Sanksi FIFA, PSSI & KPSI Sepakat Adakan Kongres Bersama"",""summary"":""Kubu PSSI dan KPSI akhirnya menemui kata sepakat untuk menyelamatkan Indonesia dari sanksi FIFA dengan menggelar Kongres Bersama dalam waktu dekat ini. Ditengahi Menpora Andi Mallarangeng, kedua kubu bertemu di Kantor Kemenpora, Senayan, Rabu (5/12) sore."",""pubdate"":""1354713000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/05/4460e4dc0d6ffc9b3e7a780790525a2f.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17640"",""title"":""Djohar Arifin: \""Tidak Ada yang Kami Langgar dan FIFA Harus Bersikap Adil\"""",""summary"":""Ketua Umum PSSI Djohar Arifin berharap agar Federasi Sepakbola Dunia (FIFA) sebagai federasi tertinggi sepakbola dapat bersikap adil dalam melihat kemelut yang terjadi di sepakbola Indonesia."",""pubdate"":""1354709445"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/05/8295793d92d75a0612b8bcb2d995b84e.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17639"",""title"":""FIFA Kirim Sinyal Jatuhkan Sanksi, Menpora Hari Ini Kumpulkan PSSI-KPSI"",""summary"":""Menpora Andi Mallarangeng sore ini mempertemukan pihak PSSI dan KPSI (Komite Penyelamat Sepakbola Indonesia) untuk membahas penyelesaian dualisme yang terjadi pada tubuh sepakbola Indonesia dalam dua tahun terakhir."",""pubdate"":""1354702272"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/05/a5dc61b772fe822f446d3ddae352c367.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17581"",""title"":""PSSI dan KPSI Masing-Masing Bikin Kongres Sendiri Desember Ini"",""summary"":""Masa depan sepakbola Indonesia semakin suram lantaran konflik di tubuh PSSI dengan KPSI (Komisi Penyelamat Sepakbola Indonesia) tak kunjung ada titik temu. Bahkan, kedua organisasi ini masing-masing akan menggelar Kongres Luar Biasa."",""pubdate"":""1354541978"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/cbc77d744e49539c7998cf783d828f62.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""36"",""name"":""Lainnya""}]},{""id"":""17577"",""title"":""Djohar Arifin: Kongres Luar Biasa Merevisi Statuta PSSI"",""summary"":""Ketua Umum Persatuan Sepak Bola Seluruh Indonesia Djohar Arifin mengatakan, kongres luar biasa di Palangkaraya, Kalimantan Tengah, pekan depan, akan merevisi statuta organisasi sepak bola Indonesia ini."",""pubdate"":""1354531260"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/32c2dc0958c73a5edd64508c83a8fa1c.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17535"",""title"":""Elie: \""Saya Selalu Siap Setiap Dibutuhkan Timnas\"""",""summary"":""Pemain senior Elie Aiboy belum berencana mundur dari Timnas Garuda meski saat ini dinilai telah berumur dan belum mampu membawa Indonesia berprestasi di level regional maupun internasional."",""pubdate"":""1354414500"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/02/42c342628ee548df646ffad7d7fe8c11.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17528"",""title"":""Gol Akil dan Jasuli Bawa Kemenangan Malaysia atas Indonesia"",""summary"":""Timnas Indonesia gagal lolos ke semifinal, menyerah dari Malaysia 0-2 pada pertandingan terakhir Piala AFF 2012 Grup B di Stadion Bukit Jalil Kuala Lumpur, Malaysia, Minggu."",""pubdate"":""1354374900"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/01/58903232a2db85f717e3a4b910ad9864.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17523"",""title"":""Hindari Thailand di Semifinal, Indonesia Harus Menang Atas Malaysia"",""summary"":""Andik Vermansyah dan kawan-kawan kini memimpin Grup B Piala AFF 2012. Untuk mengindari Thailand yang keluar sebagai juara Grup A, Indonesia harus menang atas Malaysia pada pertandingan terakhir di Stadon Bukit Jalil, Sabtu (1/12)."",""pubdate"":""1354349040"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/01/2ff9d0f0baae5de330acd37f18885846.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17522"",""title"":""Rekor Pertemuan Indonesia vs Malaysia di Piala Tiger/AFF"",""summary"":""Inilah hasil pertemuan timnas Indonesia kontra Malaysia sejak pertama kali Piala Tiger 1996 yang merupakan cikal-bakal Piala AFF yang sekarang ini tengah digelar di Malaysia…"",""pubdate"":""1354339140"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/01/0b6b03e1e7eb545565398c0c3eda14d7.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17511"",""title"":""Timnas Indonesia Siapkan Kejutan Buat Malaysia"",""summary"":""Timnas Garuda siap memberikan kejutan pada Timnas Malaysia dipertandingan terakhir Piala AFF 2012 Grup B di Stadion Bukit Jalil Kuala Lumpur, Malaysia, Sabtu (1/12)."",""pubdate"":""1354271220"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/30/082d76b104703baac0f810d088f5b392.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17485"",""title"":""Jelang Hadapi Malaysia, Cedera Hamdi Ramdan dan Tonnie Cussel Membaik"",""summary"":""Cedera yang dialami oleh Hamdi Ramdan dan Tonnie Cusell membaik, sehingga berpeluang diturunkan saat Timnas Garuda menghadapi Malaysia pada Piala AFF 2012 di Stadion Bukit Jalil Kuala Lumpur, Malaysia, Sabtu (1/12)."",""pubdate"":""1354204934"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/aa9789506e8efa8e7c6cc894c68965fd.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17482"",""title"":""Erick Thohir: Kompetisi Sepakbola di Indonesia Banyak Unsur Politis"",""summary"":""Pemilik bersama klub DC United, Erick Thohir, tidak ingin disebut sebagai orang yang tidak nasionalis jika merekrut Andik Vermasyah sebagai pemain klub anggota Liga Utama…"",""pubdate"":""1354203709"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/4b8859ba8454933b10d4bce94bcfc534.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17477"",""title"":""Bangun Pagi Elie Aiboy Ber-Gangnam Style, Taufiq Tayakan Ultah"",""summary"":""Satu hari setelah menjalani pertandingan berat melawan Singapura, Timnas Garuda hanya melakukan aktifitas santai di Hotel Palace of The Golden Horses, Kuala Lumpur, Kamis."",""pubdate"":""1354174860"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/0306925cf5d01905763ddc9a97327b12.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17475"",""title"":""Nil Maizar: \""Tak Berpikir Draw Lawan Malaysia\"""",""summary"":""Pelatih Timnas Garuda, Nil Maizar, menegaskan bahwa pihaknya tidak berfikir meraih hasil draw saat menghadapi Malaysia di pertandingan terakhir Piala AFF 2012 Grup B di Stadion Bukit Jalil Kuala Lumpur, Malaysia, Sabtu (1/12)."",""pubdate"":""1354169715"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/ee5b90acc208d8a08d2dbf2768695b4c.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]},{""id"":""17458"",""title"":""Hasil dan Klasemen Sementara Piala AFF 2012"",""summary"":""Berikut hasil dan klasemen Piala AFF 2012 di Thailand dan Malaysia, Rabu (28/11)."",""pubdate"":""1354140257"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/78310619ef6ba0467cc38fb46d15134b.jpg&zc=1"",""breadcrumb"":[{""id"":""1"",""name"":""Bola""},{""id"":""3"",""name"":""Nasional""},{""id"":""27"",""name"":""Timnas""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/27/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/27/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/27/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/27/620""]}]
            ";
            Timnas = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    Timnas.Add(model);
                    AllItems.Add(model);
                    //System.Diagnostics.Debug.WriteLine(dat.id + " " + dat.title + " ");
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17722"",""title"":""(Video) Highlights Francesco Totti Bawa Roma Taklukkan Fiorentina 4-2"",""summary"":""AS Roma berhasil mengalahkan tamunya Fiorentina dengan skor 4-2. Gol-gol Roma dicetak oleh Castan (7'), Francesco Totti (19' & 45'), dan Pablo Osvaldo (88'). Gol…"",""pubdate"":""1355037600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/2db724bf25e006c382af26eb45f57b76.jpg&zc=1"",""youtube"":""o1G5DHnOdFs"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17717"",""title"":""Jam Tangan Wasit Penentu Gol"",""summary"":""Teknologi garis gawang kini tengah dicoba oleh FIFA dalam Kejuaraan Dunia Antar Klub di Jepang. Bukan cuma tujuh kamera yang akan memantau terus, menetukan bola sudah masuk atau belum, wasit pun akan diberi kabar secepatnya lewat getaran dari jam tangan."",""pubdate"":""1355024452"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/8808d5ddd910df3d6fdddd6e0ef62fae.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17695"",""title"":""Tom Cleverley Tahun Depan Punya Anak"",""summary"":""Pemain Manchester United, Tom Cleverley kini tengah bahagia. Pasalnya, gandengannya Georgina Dorsett kini sudah hamil 12 minggu."",""pubdate"":""1354876939"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/10f654c6ad260335d4c77bcc55002341.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17682"",""title"":""Balotelli Dikaruniai Seorang Putri, Little Pia"",""summary"":""Kabar menggembirakan datang dari Naples Italia, Raffaela Fico kekasih Mario Balotelli dikabarkan sudah melahirkan seorang anak perempuan Rabu malam waktu setempat."",""pubdate"":""1354852320"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/96a0f4994aa73de95ea466786a97f1d4.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17667"",""title"":""(Video) Manajer Klub Bola Mencetak Gol Luar Biasa Dari Jarak 50 Meter"",""summary"":""Pemain mencetak gol sudah biasa, bagaimana kalo manajer yang mencetak gol dari area bangku cadangan, sudah begitu ia melakukannya dengan sangat spektakuler dari jarak 50…"",""pubdate"":""1354788840"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/4b9ed2d49a079600ac3c1aa47ee6ecd6.jpg&zc=1"",""youtube"":""rgpiShSH_eQ#!"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17662"",""title"":""Alexandre Pato Pergi, Adrian Lopez Datang"",""summary"":""Rumor akan hengkangnya Alexandre pato dari AC Milan bulan Januari nanti semakin meluncur bak bola panas. Seiring akan hengkangnya ia maka para pemain yang akan menggantikannya pun bermunculan."",""pubdate"":""1354782420"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/437abebd00af0793fd048bb5c473a1bd.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""7"",""name"":""Bursa Transfer""}]},{""id"":""17649"",""title"":""Casillas Pensiun Setelah Piala Dunia 2014"",""summary"":""Beberapa anggota generasi emas sepak bola Spanyol akan mengakhiri karir internasional mereka setelah Piala Dunia 2014, demikian disampaikan kiper veteran Iker Casillas pada Rabu.Casillas (31),…"",""pubdate"":""1354758844"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/efb2a28df5d31d28a41e62cf0ed2dd08.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17638"",""title"":""Pep Guardiola Ingin Chelsea Tak Mengganggunya Lagi"",""summary"":""Pep Guardiola rupanya konsisten dengan keputusannya untuk tidak menerima tawaran menangani klub lain untuk jangka waktu satu tahun ini, usai melepaskan jabatannya sebagai pelatih Barcelona akhir musim 2011/2012."",""pubdate"":""1354699011"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/05/d08235f678e801b89264ee09b9ed3cd3.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17605"",""title"":""Iwan Setiawan Diminta Mundur Dari Kursi Kepelatihan Persija Jakarta"",""summary"":""Jelang laga Inter Island Cup 2012, klub asal Ibukota, Persija Jakarta, harus dirundung masalah. Pelatih mereka, Iwan Setiawan, didesak untuk mundur dari jabatannya oleh sebagian…"",""pubdate"":""1354603140"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/04/f062dbe2508ddbb7cc63ef43a445b3e4.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17595"",""title"":""Pesan Terakhir Diego Mendieta: Saya Ingin Pulang ke Paraguay dan Dirawat Ibu"",""summary"":""Mantan pemain Persis Solo yang bermain di Divisi Utama Liga Indonesia, Diego Antonio Mendieta, meninggal Dunia di Rumah Sakit Dr Muwardi Solo, Jawa Tengah, pada…"",""pubdate"":""1354593720"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/04/3237436989477722c530dd58da9bd9d5.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17587"",""title"":""Andy Carroll Colok Mata Fotografer"",""summary"":""Andy Carroll yang kini bermain untuk West Ham, menyerang seorang fotografer kawakan koran The Sun Inggris, usai Carroll mengadakan pesta kemenangan klubnya di Dublin, Senin malam. "",""pubdate"":""1354582477"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/04/86026fdcd1b8b7592df7ba146d932146.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]},{""id"":""17582"",""title"":""Konsep Stadion Baru Persija Bergaya \""Betawi Islami\"""",""summary"":""Harapan seluruh fans Persija Jakarta agar Persija mempunyai stadion yang layak sepertinya bakal terkabul dengan akan dibangunnya stadion Taman Bersih, Manusiawi, dan Berwibawa atau yang…"",""pubdate"":""1354543560"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/80256ffd481ab2bdbc325db2c840c7c3.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17580"",""title"":""(Video) Klub Barcelona Jalankan Kampanye Anti Rokok"",""summary"":""Klub elit Spanyol, Barcelona kini melancarkan kampanye Anti Rokok bekerjasama dengan European Comission. Barca mengeluarkan video yang melibatkan beberapa pemain."",""pubdate"":""1354538580"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/76039d44ebc6f36ea94539f2b3ffc3ad.jpg&zc=1"",""youtube"":""ZsxZC2zb08Q"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17567"",""title"":""(Video) Highlights AS Roma Kalahkan Tuan Rumah Siena 3-1"",""summary"":""AS Roma berhasil meraih kemenangan di kandang lawan dalam lanjutan Liga Italia pekan ke-15. Korban kali ini adalah Siena yang dikalahkan 3-1. Tuan rumah sempat…"",""pubdate"":""1354516860"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/d3bd570993fdfda34da8ccc06aca8092.jpg&zc=1"",""youtube"":""Io9fNYNq6tE"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17565"",""title"":""(Video) Gol Dahsyat 55 Meter Dari Adil Rami"",""summary"":""Bek Valencia mencetak gol luar biasa dari jarak 55 meter saat timnya mengalahkan tim Divisi Segunda B Spanyol Llagostera 3-1 di Stadion Mestalla dalam ajang…"",""pubdate"":""1354515960"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/a949b36387d58d31d145450d730244ae.jpg&zc=1"",""youtube"":""p2nQXIQ2iB0"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17562"",""title"":""Arsenal Siap Bajak Lampard Dari Chelsea"",""summary"":""Rumor menghebohkan datang dari kota London, salah satu klub yang berbasis di sana di kabarkan akan melakukan pergerakan transfer yang sangat mengejutkan dengan mengambil salah satu bintang dari klub London lainnya."",""pubdate"":""1354509000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/7feea4978bea57e96236793cb38adf62.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""7"",""name"":""Bursa Transfer""}]},{""id"":""17557"",""title"":""Valencia Kalah, Fans Mengamuk"",""summary"":""Kekalahan atas Real Sociedad tak hanya membuat pelatih mereka, Mauricio Pellegrino dipecat tetapi juga membuat fans Los Che yang datang ke Mestalla mengamuk."",""pubdate"":""1354503600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/1c158d4c05d4f4392c8586deec174824.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17543"",""title"":""(Video) Highlights AC Milan Kalahkan Tuan Rumah Catania 3-1"",""summary"":""AC Milan berhasil meraih kemenangan keduanya secara beruntun setelah menaklukkan tuan rumah Catania 3-1. Catania sempat memimpin terlebih dahulu melalui gol Nicola Legrottaglie pada menit…"",""pubdate"":""1354419600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/02/35056971164cdee6de065636fca284e8.jpg&zc=1"",""youtube"":""wveJHL816Cs"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17514"",""title"":""Fans Sunderland Yang Dituduh Rasis: Saya Hanya Melakukan Gerakan Ayam"",""summary"":""Foto memang bisa menceritakan suatu kejadian. Namun apa jadinya kalau sebuah foto bisa membuat seseorang dituduh hal yang aneh-aneh. Contohnya salah seorang fans Sunderland ini.…"",""pubdate"":""1354294320"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/30/124749221b168f59581dad48a8518386.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17504"",""title"":""Kata-Kata Ghengis Khan Jadi Tato Baru Balotelli"",""summary"":""Pemain Manchester City asal Italia, Mario Balotelli, memang tidak pernah terlepas dari sasaran pemberitaan media. Tingkah lakunya yang konyol dan kontroversial di dalam maupun di…"",""pubdate"":""1354259940"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/30/dc0bad88880352bc91076bc97c6ab781.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""6"",""name"":""Hot Gossip""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/5/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/5/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/5/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/5/2480""]}]
            ";
            Bolatainment = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    Bolatainment.Add(model);
                    AllItems.Add(model);
                    System.Diagnostics.Debug.WriteLine(dat.id + " " + dat.title + " ");
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17722"",""title"":""(Video) Highlights Francesco Totti Bawa Roma Taklukkan Fiorentina 4-2"",""summary"":""AS Roma berhasil mengalahkan tamunya Fiorentina dengan skor 4-2. Gol-gol Roma dicetak oleh Castan (7'), Francesco Totti (19' & 45'), dan Pablo Osvaldo (88'). Gol…"",""pubdate"":""1355037600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/09/2db724bf25e006c382af26eb45f57b76.jpg&zc=1"",""youtube"":""o1G5DHnOdFs"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17667"",""title"":""(Video) Manajer Klub Bola Mencetak Gol Luar Biasa Dari Jarak 50 Meter"",""summary"":""Pemain mencetak gol sudah biasa, bagaimana kalo manajer yang mencetak gol dari area bangku cadangan, sudah begitu ia melakukannya dengan sangat spektakuler dari jarak 50…"",""pubdate"":""1354788840"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/4b9ed2d49a079600ac3c1aa47ee6ecd6.jpg&zc=1"",""youtube"":""rgpiShSH_eQ#!"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17605"",""title"":""Iwan Setiawan Diminta Mundur Dari Kursi Kepelatihan Persija Jakarta"",""summary"":""Jelang laga Inter Island Cup 2012, klub asal Ibukota, Persija Jakarta, harus dirundung masalah. Pelatih mereka, Iwan Setiawan, didesak untuk mundur dari jabatannya oleh sebagian…"",""pubdate"":""1354603140"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/04/f062dbe2508ddbb7cc63ef43a445b3e4.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17595"",""title"":""Pesan Terakhir Diego Mendieta: Saya Ingin Pulang ke Paraguay dan Dirawat Ibu"",""summary"":""Mantan pemain Persis Solo yang bermain di Divisi Utama Liga Indonesia, Diego Antonio Mendieta, meninggal Dunia di Rumah Sakit Dr Muwardi Solo, Jawa Tengah, pada…"",""pubdate"":""1354593720"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/04/3237436989477722c530dd58da9bd9d5.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17582"",""title"":""Konsep Stadion Baru Persija Bergaya \""Betawi Islami\"""",""summary"":""Harapan seluruh fans Persija Jakarta agar Persija mempunyai stadion yang layak sepertinya bakal terkabul dengan akan dibangunnya stadion Taman Bersih, Manusiawi, dan Berwibawa atau yang…"",""pubdate"":""1354543560"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/80256ffd481ab2bdbc325db2c840c7c3.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17580"",""title"":""(Video) Klub Barcelona Jalankan Kampanye Anti Rokok"",""summary"":""Klub elit Spanyol, Barcelona kini melancarkan kampanye Anti Rokok bekerjasama dengan European Comission. Barca mengeluarkan video yang melibatkan beberapa pemain."",""pubdate"":""1354538580"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/76039d44ebc6f36ea94539f2b3ffc3ad.jpg&zc=1"",""youtube"":""ZsxZC2zb08Q"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17567"",""title"":""(Video) Highlights AS Roma Kalahkan Tuan Rumah Siena 3-1"",""summary"":""AS Roma berhasil meraih kemenangan di kandang lawan dalam lanjutan Liga Italia pekan ke-15. Korban kali ini adalah Siena yang dikalahkan 3-1. Tuan rumah sempat…"",""pubdate"":""1354516860"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/d3bd570993fdfda34da8ccc06aca8092.jpg&zc=1"",""youtube"":""Io9fNYNq6tE"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17565"",""title"":""(Video) Gol Dahsyat 55 Meter Dari Adil Rami"",""summary"":""Bek Valencia mencetak gol luar biasa dari jarak 55 meter saat timnya mengalahkan tim Divisi Segunda B Spanyol Llagostera 3-1 di Stadion Mestalla dalam ajang…"",""pubdate"":""1354515960"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/a949b36387d58d31d145450d730244ae.jpg&zc=1"",""youtube"":""p2nQXIQ2iB0"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17557"",""title"":""Valencia Kalah, Fans Mengamuk"",""summary"":""Kekalahan atas Real Sociedad tak hanya membuat pelatih mereka, Mauricio Pellegrino dipecat tetapi juga membuat fans Los Che yang datang ke Mestalla mengamuk."",""pubdate"":""1354503600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/1c158d4c05d4f4392c8586deec174824.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17543"",""title"":""(Video) Highlights AC Milan Kalahkan Tuan Rumah Catania 3-1"",""summary"":""AC Milan berhasil meraih kemenangan keduanya secara beruntun setelah menaklukkan tuan rumah Catania 3-1. Catania sempat memimpin terlebih dahulu melalui gol Nicola Legrottaglie pada menit…"",""pubdate"":""1354419600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/02/35056971164cdee6de065636fca284e8.jpg&zc=1"",""youtube"":""wveJHL816Cs"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17514"",""title"":""Fans Sunderland Yang Dituduh Rasis: Saya Hanya Melakukan Gerakan Ayam"",""summary"":""Foto memang bisa menceritakan suatu kejadian. Namun apa jadinya kalau sebuah foto bisa membuat seseorang dituduh hal yang aneh-aneh. Contohnya salah seorang fans Sunderland ini.…"",""pubdate"":""1354294320"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/30/124749221b168f59581dad48a8518386.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17480"",""title"":""Sepatu Baru Untuk Para Pesepakbola Muda Berbakat, El Sharawy dkk."",""summary"":""Nike sebagai salah satu appareal yang terkemuka di dunia baru-baru ini mengeluarkan varian baru sepatu sepakbola yang diberi nama Nike GS 2 boot. Namun, dalam…"",""pubdate"":""1354183080"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/bebd58050b0d5ff89b49eae0dfce398f.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17477"",""title"":""Bangun Pagi Elie Aiboy Ber-Gangnam Style, Taufiq Tayakan Ultah"",""summary"":""Satu hari setelah menjalani pertandingan berat melawan Singapura, Timnas Garuda hanya melakukan aktifitas santai di Hotel Palace of The Golden Horses, Kuala Lumpur, Kamis."",""pubdate"":""1354174860"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/0306925cf5d01905763ddc9a97327b12.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17451"",""title"":""(Video) Highlights Lazio Kalahkan Udinese 3-0"",""summary"":""Lazio secara meyakinkan menang atas tamunya Udinese 3-0 dalam lanjutan Liga Italia dini hari tadi. Gol-gol Lazio dicetak oleh Gonzalez (17'), Miroslav Klose (31'), dan…"",""pubdate"":""1354086360"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/28/7c34337fa73ff0d10da79904e1e1a20d.jpg&zc=1"",""youtube"":""GrSZtwbeNMY"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17378"",""title"":""(Video) Highlights Levante vs Barcelona"",""summary"":""Barcelona kembali memperlebar jarak dengan Real Madrid setelah berhasil menghantam Levante dengan empat gol tanpa balas."",""pubdate"":""1353907800"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/903edd79e2a635d6c264b34b0293d666.JPG&zc=1"",""youtube"":""St-LucVvvPg"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17377"",""title"":""(Video) Highlights Indonesia Diimbangi Laos 2-2"",""summary"":""Tim nasional Indonesia ditahan imbang Laos 2-2 pada pertandingan perdana penyisihan Grup B Sepakbola Piala AFF 2012 di Stadion Bukit Jalil Kuala Lumpur Malaysia, Minggu."",""pubdate"":""1353900600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/a9c740ca508e0ae202650e030cc13c7f.jpg&zc=1"",""youtube"":""WJZ2G6cOBug"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17376"",""title"":""(Video) Highlights AC Milan Kalahkan Juventus 1-0"",""summary"":""Juventus kembali kalah di Liga Italia setelah dini hari tadi harus mengakui keunggulan rivalnya AC Milan dengans kor tipis 1-0 melalui tendangan penalti Robinho pada…"",""pubdate"":""1353898800"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/99f700292c2fce973fa6f3729fc10266.jpg&zc=1"",""youtube"":""s59OEZrmQHU"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17291"",""title"":""(Video) Highlights Dortmund Hancurkan Ajax 4-1"",""summary"":""Ajax Amsterdam harus menutup peluang mereka lolos ke babak 16 besar Liga Champion setelah mengalami kekalahan dari tamunya Borussia Dortmund 4-1 dini hari tadi."",""pubdate"":""1353565800"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/22/e20a8691640d13e82e4fa206161b1838.jpg&zc=1"",""youtube"":""g-3mQgwdE18"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17288"",""title"":""(Video) Highlights AC Milan Kalahkan Anderlecht 3-1"",""summary"":""AC Milan berhasil memastikan diri lolos ke babak 16 besar Liga Champions setelah mengalahkan tuan rumah Anderlecht 3-1 dini hari tadi. Gol-gol Milan dicetak oleh…"",""pubdate"":""1353560460"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/22/acf4c845f706a58857f00966e9217748.jpg&zc=1"",""youtube"":""jkUU_I-4-9A"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]},{""id"":""17269"",""title"":""(Video) Highlights Juventus Hantam Chelsea 3-0"",""summary"":""Secara tidak terduga juara bertahan Chelsea harus menerima kekalahan telak 3-0 dari juara Italia musim lalu Juventus pada matchday ke-5 Liga Champions dini hari tadi.…"",""pubdate"":""1353488400"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/21/61ceb4d27a444414684bc3d3f15e230b.jpg&zc=1"",""breadcrumb"":[{""id"":""5"",""name"":""Bolatainment""},{""id"":""37"",""name"":""FUNatik""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/37/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/37/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/37/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/37/860""]}]
            ";
            Funatik = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    Funatik.Add(model);
                    Funatik.Add(model);
                    AllItems.Add(model);
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17418"",""title"":""Gelar Hiburan Electric PLN"",""summary"":""Pertandingan berat sebelah akan terjadi diperebutan tempat ketiga IFL 2012 yang mempertemukan dua tim beda kasta Electric PLN dan SWAP. Electric PLN yang sejak tahun…"",""pubdate"":""1353993420"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/27/e6c0074f56b11f6d2950697f25127ff3.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17323"",""title"":""A-Z Piala Dunia Futsal 2012 Thailand (I-L)"",""summary"":""I : Italia"",""pubdate"":""1353645000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/23/bc63be56be5916239613bed3546e483d.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17270"",""title"":""A-Z Piala Dunia Futsal 2012 Thailand (E-H)."",""summary"":""E: Eder Lima\n\nBermain untuk Rusia di Piala Dunia Futsal untuk pertama kalinya, pemain kelahiran Sao Paolo yang mulai membela Rusia sejak 2009 tersebut meraih…"",""pubdate"":""1353483000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/21/efa266cc632b2e38ea6185e50cb5783c.png&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17245"",""title"":""Kike Bangga Pada Juniornya di Timnas Futsal Spanyol"",""summary"":""Spanyol akhirnya harus kembali kalah dalam partai final Piala Dunia Futsal 2012 setelah ditaklukan musuh abadinya, Brasil. Gol Neto pada 19 detik sebelum babak kedua…"",""pubdate"":""1353412740"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/20/02d16a564557b961d8ed967dea3a063f.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17235"",""title"":""A-Z Piala Dunia Futsal 2012 (A-D)"",""summary"":""A: Angellot Caro"",""pubdate"":""1353391860"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/20/31d818f1d5a493c59a597e8e693f7f2b.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17211"",""title"":""Falcao Ragu Dapat Bermain di Piala Dunia Futsal 2016"",""summary"":""Pemain bintang Brasil, Falcao, sudah memaparkan kemungkinan akan pensiun dari timnas futsal Brasil. Hal itu diungkapkannya dalam laman resmi Fifa sesudah membawa Brasil menjuarai Piala…"",""pubdate"":""1353324240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/19/9f27f600744262c28840c229e77ea68d.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17209"",""title"":""Daftar Peraih Penghargaan di Piala Dunia Futsal 2012"",""summary"":""Piala dunia Futsal 2012 yang berlangsung di negeri gajah putih, Thailand, telah berakhir. Brasil akhirnya keluar sebagai juara untuk yang kelima kalinya setelah mengandaskan perlawanan…"",""pubdate"":""1353318420"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/19/ebd7ab4fe6d8f92cfa8b44ca12decdff.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17173"",""title"":""Bungkam Kolombia, Italia Rebut Tempat Ketiga Dua Kali Berturut-turut"",""summary"":""Italia berhasil merebut tempat ketiga setelah berhasil mengalahkan Kolombia 3-0 pada babak perebutan juara ketiga, Minggu (18/11) di Huamark Stadium, Bangkok, Thailand. Rodolfo Fortino mencetak dua gol pada pertandingan kali ini."",""pubdate"":""1353235140"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/18/20984cdd48065c150f233c8ed0b60714.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17172"",""title"":""Pertandingan Lawan Argentina Jadi Pembuktian Semangat Juang Brasil"",""summary"":""Pertandingan final melawan Spanyol akan menjadi ujian yang cukup berat bagi Brasil. Selain adu gengsi, rakyat Brasil menaruh harapan besar agar Brasil kembali menjadi juara dunia Futsal. Hal tersebut menjadi motivasi sendiri bagi skuad Brasil."",""pubdate"":""1353217721"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/18/98068886c0841457ed203cb09767ee76.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17171"",""title"":""Venancio Lopez: Spanyol Punya Mentalitas Juara"",""summary"":""Pelatih timnas futsal Spanyol, Venancio Lopez, mengatakan, pertarungan melawan Brasil nanti akan menjadi pertarungan dari berbagai sisi. Baik itu sisi teknis, maupun non teknis. Namun…"",""pubdate"":""1353217553"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/18/eda2c49e3eed2dbeca50caddf37318f8.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17170"",""title"":""Preview Italia vs Kolombia: Gli Azzuri Mencari Pelampiasan"",""summary"":""Perebutan tempat ketiga Piala Dunia Futsal 2012 akan mempertemukan dua tim yang bisa dibilang berbeda satu tingkat. Italia vs Kolombia, duel dua tim yang mempunyai…"",""pubdate"":""1353214665"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/18/8ecea3667780a947a16300c50ec01ab6.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17169"",""title"":""Preview Spanyol vs Brasil: Pertemuan Keempat Musuh Bebuyutan di Partai Puncak"",""summary"":""Setelah 17 hari dan 50 pertandingan, Piala Dunia Futsal yang dihelat di negeri gajah putih, Thailand, kini mencapai puncaknya. Superioritas Brasil dan Spanyol pada PD…"",""pubdate"":""1353210900"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/18/004a5a57aecb9fdaa7efec32dfd3e2c1.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17157"",""title"":""Fonnegra : Kami Telah Bermain Maksimal Melawan Tim Terbaik Di Dunia"",""summary"":""Kegagalan Kolombia ke partai puncak tidak membuat Areny Fonnegra selaku pelatih Kolombia kecewa. Menurutnya timnya telah menampilkan permainan yang maksimal melawan salah satu tim terbaik di dunia."",""pubdate"":""1353141240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/d9700bdfabae7971f42023b46d63e1de.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17156"",""title"":""Sorato : Kolombia Sempat Menyulitkan Kami"",""summary"":""Lolosnya kembali Brazil ke partai final Piala Dunia Futsal sangat disyukuri oleh pelatih Marcos Sorato. Menurutnya timnya memang layak untuk menang karena performa mereka yang…"",""pubdate"":""1353139260"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/0ec43399d7679bc1a84c60457b0ce757.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17149"",""title"":""Menichelli : Italia Sudah Berusaha Maksimal"",""summary"":""Kekalahan Italia atas Spanyol pada babak semifinal Piala Dunia Futsal 2012 tidak membuat pelatih Italia Roberto Menichelli kecewa. Menurutnya timnya telah berupaya maksimal dan Spanyol memang lebih kuat."",""pubdate"":""1353115800"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/96810d22c3cffb304f4e78e269b7f811.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17148"",""title"":""Lopez : Spanyol Layak Lolos Ke Final"",""summary"":""Lolosnya Spanyol kembali ke partai final membuat pelatih Venancio Lopez sangat senang. Menurutnya mereka memang pantas menang dan telah memperlihatkan permainan Spanyol yang sebenarnya."",""pubdate"":""1353114000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/a517a2e2de8020c077c0cf737c7dd83b.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17147"",""title"":""Brazil Kembali Ke Partai Puncak Setelah Mengandaskan Kolombia 3-1"",""summary"":""Brazil kembali menunjukkan kedigdayaannya di ajang Piala Dunia Futsal setelah sang juara bertahan ini kembali mencapai partai final setelah mengalahkan tim debutan Kolombia 3-1 pada babak semifinal kemarin."",""pubdate"":""1353108600"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/b73f66f01392bf5dc21006f2671edfd4.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17143"",""title"":""Singkirkan Italia, Spanyol Kembali Capai Final"",""summary"":""Spanyol berhasil lolos ke partai puncak Piala Dunia Futsal 2012 di Thailand setelah menyingkirkan Italia di babak semifinal yang berlangsung kemarin dengan skor 4-1."",""pubdate"":""1353106800"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/a692dfdff2b8abda17c34dab8d27c3a8.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17074"",""title"":""Memori Final Eropa 2012"",""summary"":""11 Februari 2012 merupakan tanggal yang tidak akan pernah bisa dilupakan oleh tim futsal Rusia. Pasalnya Pula dkk. yang saat itu memimpin hingga menit 39…"",""pubdate"":""1352862000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/14/e81323f84e846dd43a50b19e1fddc212.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]},{""id"":""17073"",""title"":""Penuturan Sergio Gargelli kepada Bolalob di Bangkok: 'Portugal Lemah Bertahan'"",""summary"":""Ditemui oleh perwakilan Bolalob di Huamark Stadium Bangkok saat menyaksikan laga Rusia melawan Rep. Ceko, Sergio Gargelli pelatih Vietnam asal Italia memberikan pandangannya mengenai pertandingan…"",""pubdate"":""1352857140"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/14/0d7b1fb1aaf935ac7b8a93b88eab6337.jpg&zc=1"",""breadcrumb"":[{""id"":""8"",""name"":""Futsal""},{""id"":""137"",""name"":""Piala Dunia Futsal""},{""id"":""139"",""name"":""News""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/139/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/139/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/139/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/139/80""]}]
            ";
            News = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    News.Add(model);
                    AllItems.Add(model);
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17692"",""title"":""(Video) Persiapan Tim Futsal UNJ Menghadapi Liga Futsal Wanita 2012"",""summary"":""Video wawancara dengan pelatih tim futsal Universitas Negeri Jakarta, Nur Fitranto, terkait persiapan tim UNJ dalam Liga Futsal Wanita Indonesia 2012 yang akan berlangsung mulai…"",""pubdate"":""1354870446"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/a756a3a2c853c02d8338842b739b7178.jpg&zc=1"",""youtube"":""sKxgPzvn5J0"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17691"",""title"":""Futsal Babes Interview: Nova Prihantina (Part 2)"",""summary"":""Wawancara dengan pemain futsal sekaligus penjaga gawang Jaya Kencana Angels Futsal Club, Nova Prihantina."",""pubdate"":""1354870202"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/82bb8fe0dd79705315f5fc80f2f2a017.jpg&zc=1"",""youtube"":""IUaqw7nwGgY"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17574"",""title"":""Highlights Final IFL 2012: Futsal Kota Bandung vs IPC Pelindo (Part 1)"",""summary"":""Video Highlights Final Indonesia Futsal League 2012 antara Futsal Kota Bandung vs IPC Pelindo yang berlangsung pada 27 November 2012 di Tennis Indoor, Senayan."",""pubdate"":""1354527240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/ec852487d6e3e0628aaa5dd69d49f77f.jpg&zc=1"",""youtube"":""nlAxjNbgzYk"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17575"",""title"":""Highlights Final IFL 2012: Futsal Kota Bandung vs IPC Pelindo (Part 2)"",""summary"":""Video Highlights Final Indonesia Futsal League 2012 antara Futsal Kota Bandung vs IPC Pelindo yang berlangsung pada 27 November 2012 di Tennis Indoor, Senayan."",""pubdate"":""1354527240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/4318a0b6107535d7b45b7c9b286a12c6.jpg&zc=1"",""youtube"":""lnQvxc2O2tk"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17576"",""title"":""Highlights Final IFL 2012: Futsal Kota Bandung vs IPC Pelindo (Part 3)"",""summary"":""Video Highlights Final Indonesia Futsal League 2012 antara Futsal Kota Bandung vs IPC Pelindo yang berlangsung pada 27 November 2012 di Tennis Indoor, Senayan."",""pubdate"":""1354527240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/771fda4200427364513c6980e257793f.JPG&zc=1"",""youtube"":""0YYh6yn3yqY"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17571"",""title"":""Highlights Third Place Match IFL 2012: SWAP vs Electric PLN (Part 3)"",""summary"":""Video Highlights partai perebutan peringkat ketiga antara SWAP FC vs Electric PLN Jakarta yang berlangsung pada 27 November 2012 di Tennis Indoor Senayan."",""pubdate"":""1354521473"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/cd028d55df4cf4b28262b5eb8151f51a.JPG&zc=1"",""youtube"":""5pRqjuhyMcA"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17570"",""title"":""Highlights Third Place Match IFL 2012: SWAP vs Electric PLN (Part 2)"",""summary"":""Video Highlights partai perebutan peringkat ketiga antara SWAP FC vs Electric PLN Jakarta yang berlangsung pada 27 November 2012 di Tennis Indoor Senayan."",""pubdate"":""1354521335"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/a4856066e3518cb559a1f162b8675081.jpg&zc=1"",""youtube"":""_AyRs7S6ZZ8"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17569"",""title"":""Highlights Third Place Match IFL 2012: SWAP vs Electric PLN (Part 1)"",""summary"":""Video Highlights partai perebutan peringkat ketiga antara SWAP FC vs Electric PLN Jakarta yang berlangsung pada 27 November 2012 di Tennis Indoor Senayan."",""pubdate"":""1354521120"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/224effebed008ed471c6e4d1671802b1.jpg&zc=1"",""youtube"":""5T773QMb_Ow"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17474"",""title"":""Highlights Final Four IFL 2012: Electric PLN Vs IPC Pelindo Leg 2 (Part 2)"",""summary"":""Video Highlights babak Final Four leg kedua Indonesia Futsal League antara Electric PLN Jakarta Vs IPC Pelindo Jakarta, (22/11)."",""pubdate"":""1354166254"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/1638e4a563cdc74fbda24af323e3b16f.jpg&zc=1"",""youtube"":""H76A0DR2h0E"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17473"",""title"":""Highlights Final Four IFL 2012: Electric PLN Vs IPC Pelindo Leg 2 (Part 1)"",""summary"":""Video Highlights babak Final Four leg kedua Indonesia Futsal League antara Electric PLN Jakarta Vs IPC Pelindo Jakarta, (22/11)."",""pubdate"":""1354166176"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/93d76bdc2affa2e14fb8cfed5f39f170.JPG&zc=1"",""youtube"":""5uf_B2J3YcY"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17472"",""title"":""Highlights Final Four IFL 2012: SWAP FC Vs Futsal Kota Bandung Leg 2 (Part 2)"",""summary"":""Video Highlights babak Final Four leg kedua Indonesia Futsal League antara SWAP FC Vs Futsal Kota Bandung, (22/11)."",""pubdate"":""1354166011"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/088b83a4cb040990b3e7249ba96ce35b.jpg&zc=1"",""youtube"":""bcBvE9QodhI"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17470"",""title"":""Highlights Final Four IFL 2012: SWAP FC Vs Futsal Kota Bandung Leg 2 (Part 1)"",""summary"":""Video Highlights babak Final Four leg kedua Indonesia Futsal League antara SWAP FC Vs Futsal Kota Bandung, (22/11)."",""pubdate"":""1354165920"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/29/e6e9c214c34c28916420e8015686abbf.jpg&zc=1"",""youtube"":""6W-wrJTblWQ"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17387"",""title"":""Highlights Final Four IFL 2012: IPC Pelindo vs Electric PLN Leg 1 (Part 2)"",""summary"":""Video Highlights babak Final Four leg pertama Indonesia Futsal League antara IPC Pelindo Jakarta vs Electric PLN Jakarta yang berlangsung pada 21 November di Tennis…"",""pubdate"":""1353915840"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/f9419e5df52a5f25fbcc428efd5467e7.jpg&zc=1"",""youtube"":""rnOS_iLJI4Y"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17386"",""title"":""Highlights Final Four IFL 2012: IPC Pelindo vs Electric PLN Leg 1 (Part 1)"",""summary"":""Video Highlights babak Final Four leg pertama Indonesia Futsal League antara IPC Pelindo Jakarta vs Electric PLN Jakarta yang berlangsung pada 21 November di Tennis…"",""pubdate"":""1353915720"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/8b551781b9575abcc20822caa845cb0b.JPG&zc=1"",""youtube"":""-XHTlJ8YFK4"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17383"",""title"":""Highlights Final Four IFL 2012: Futsal Kota Bandung vs SWAP FC Leg 1 (Part 2)"",""summary"":""Video Highlights babak Final Four leg pertama Indonesia Futsal League antara Futsal Kota Bandung vs SWAP FC yang berlangsung pada 21 November di Tennis Indoor…"",""pubdate"":""1353913200"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/afd9b7d367b2184ea92f5ce903d8a89b.jpg&zc=1"",""youtube"":""V-ZCUgehUfM"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""17380"",""title"":""Highlights Final Four IFL 2012: Futsal Kota Bandung vs SWAP FC Leg 1 (Part 1)"",""summary"":""Video Highlights babak Final Four leg pertama Indonesia Futsal League antara Futsal Kota Bandung vs SWAP FC yang berlangsung pada 21 November di Tennis Indoor…"",""pubdate"":""1353904200"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/eb5ffa72ed71948c2fa7bc60b5b27d33.JPG&zc=1"",""youtube"":""b9Lj6Hd315o"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""16899"",""title"":""Futsal Babes Interview: Sanda Garini (Part 2)"",""summary"":""Berikut ini adalah video interview dengan pemain futsal dan kiper tim futsal putri Adjie Massaid futsal club, Sanda Garini. Eksklusif dari Bolalob.com buat para futsal…"",""pubdate"":""1352296707"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/07/8bfc8a9c8f09ed9c211c1d692523104c.jpg&zc=1"",""youtube"":""cQvxbB7nEa8"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""16868"",""title"":""Latihan Dasar Futsal Untuk Putri: Passing dan Stretching"",""summary"":""Video latihan dasar untuk para pemain futsal putri, Passing dan Strecthing. Enjoy!"",""pubdate"":""1352187120"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/06/8ba87777602387b7e3f13d0b62023765.jpg&zc=1"",""youtube"":""zKf6kinIUo8"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""16835"",""title"":""Futsal Training: 1 vs 3 Finishing"",""summary"":""Variasi Finishing 1 vs 3 dalam futsal. Eksklusif dari Bolalob.com buat para futsal mania. Enjoy!!"",""pubdate"":""1352121840"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/05/412dd4bb8d9fd7acdf9a5e139a780f72.jpg&zc=1"",""youtube"":""4vnR-MQIR5E"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]},{""id"":""16830"",""title"":""Video Highlights Mitre LIFUMA 2012 Seri Ketiga Part 4"",""summary"":""Video Highlights Mitre LIFUMA Jakarta 2012 seri ketiga yang berlangsung dari 27-31 Oktober 2012."",""pubdate"":""1352103360"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/05/221a92dd09c873b813af0a43a62e1c42.jpg&zc=1"",""youtube"":""1jShKcNQw0E"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""13"",""name"":""Highlight""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/13/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/13/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/13/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/13/120""]}]
            ";
            Highlight = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    Highlight.Add(model);
                    AllItems.Add(model);
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17572"",""title"":""Kemesraan KPB Dan Melissa Satta Saat Nonton Basket"",""summary"":""Sehabis memberi assist, mencetak gol, dan mendapat kartu merah, saatnya rileks dalam pikiran Kevin Prince-Boateng. bagaimana rileksnya jelas banget pacaran dengan kekasih tercinta. Inilah yang…"",""pubdate"":""1354522140"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/03/f041d5299443b26af01401e2786e0fe6.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""17547"",""title"":""Unik, Ini Aksi Suporter Indonesia di Stadion Bukit Jalil"",""summary"":""Aksi suporter Indonesia saat pertandingan timnas melawan Malaysia pada pertandingan terakhir Grup B Piala AFF 2012. Mereka menggunakan nama mantan Presiden Republik Indonesia pada nomor…"",""pubdate"":""1354458165"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/02/2ff9927962623921ca294a3b3890f928.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""17412"",""title"":""Bintang-Bintang Manchester United Masa Lalu"",""summary"":""Ini dia para mantan bintang klub Manchester United (kiri ke kanan) Gunnar Solskjaer, Eric Cantona, Dwight Yorke, Andy Cole, Ruud van Nistelrooy dan Edwin van…"",""pubdate"":""1353985200"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/27/468dbdd98e6433d02539cdafe4da823f.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""17389"",""title"":""Fans Chelsea Menyambut Bintang Baru Di Stamford Bridge"",""summary"":""Penunjukan Rafael Benitez sebagai pelatih Chelsea ternyata tidak diterima dengan ikhlas oleh beberapa fans Chelsea yang hadir di Stadion saat pertandingan melawan Manchester City. Beberapa…"",""pubdate"":""1353922200"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/26/35f3d8bfc6fe8b62b3d9f092cffae063.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""17325"",""title"":""Devina FC Juara Kit Futsalismo 2012 Kategori Umum/Klub"",""summary"":""Ini dia jawara Kit Futsalismo 2012 untuk kategori umum, Devina FC yang dalam final mengalahkan Cosmo FC. (Foto: bolalob.com)"",""pubdate"":""1353650400"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/23/54087bf3ceda7fecf6df0a8ac8832fce.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""17161"",""title"":""Devina FC Datang dan Menang di Kit Futsalismo 2012"",""summary"":""Ini dia skuad Devina FC Jakarta yang diramu coach Doni Zola. Klub ini berkekuatan beberapa pemain dari STIE Bhakti Pembangunan, Perbanas, UKI dll. (Foto: bolalob.com)"",""pubdate"":""1353164820"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/17/dc76bbc0029e58b4e7d3c9f31a7836ac.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""17070"",""title"":""Fans Tim Futsal Rusia di Bangkok"",""summary"":""Beginilah gaya fans tim futsal Rusia yang telah lolos ke babak 8 Besar dan akan menghadapi tim favorit juara Spanyol pada Rabu (14/11). Foto: Fifa.com"",""pubdate"":""1352853000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/14/b3b8073f16ef4a538c9a8286a6a55ecb.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""16804"",""title"":""Darius dan Suporter klub Raissa"",""summary"":""Usai pertandingan Kit Futsalismo 2012 Region Jakarta, Darius Sinathrya diapit fans cewek dari klub Raissa FC, Minggu (4/11)"",""pubdate"":""1352043788"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/04/478ab671cdb62691eac13e0c38b55eb5.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""16473"",""title"":""Fans Chelsea Beri Dukungan Kepada Fernando Torres"",""summary"":""Chelsea sejak dibeli Roman Abramovich kini menjadi klub besar yang sudah merasakan juara Liga Champions 2012. Sejalan dengan itu fans club Chelsea pun tumbuh di…"",""pubdate"":""1350981830"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/10/23/858bc31d801251e2dbabd88bd75bbcb8.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""16171"",""title"":""Salma Almaneri"",""summary"":""Salma Almaneri salah satu Wags asal Italia (Foto: yahoo.com)"",""pubdate"":""1350123091"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/10/13/040515a3b7d56bc53ced4e1647727712.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""16028"",""title"":""Model Cantik Ini Ternyata Fans Barcelona"",""summary"":""Satu lagi wanita cantik yang menjadi fans Barcelona, dia adalah Bar Refaeli, model cantik asal Israel ini menunjukkan dukungannya kepada klub asal Catalan dengan tweet-tweet yang ia sampaikan dini hari tadi."",""pubdate"":""1349690400"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/10/08/7472b5d899d0b85851c2d9278f5def73.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""15682"",""title"":""Alex Morgan, Kagumi Barcelona & Lionel Messi"",""summary"":""Tahukah kalian nama Alex Morgan? wanita cantik yang masih berusia 23 tahun ini adalah pemain dalam timnas sepakbola wanita Amerika Serikat. Dan tahukah kalian, wanita ini adalah fans Bacelona dan penganggum Lionel Messi."",""pubdate"":""1348621200"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/09/26/e994e5c0a61bfe9bcbee636b3cdd7011.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""15457"",""title"":""Lucy Pinder Fan Sexy Chelsea"",""summary"":""Chelsea kini berada di peringkat teratas sementara klasemen Liga Primer 2012/2013 dari empat kali pertandingan. Tak heran kalau beberapa fansnya semakin mengelu-elukan skuad Roberto di…"",""pubdate"":""1347929672"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/09/18/33a61af48942a1ae6c65d788a0c141ec.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""15258"",""title"":""Supoter Inggris"",""summary"":""Beginilah upporter Inggris yang fanatik. Ia mengecat dadanya dengan bendera tim kesayangan. (Foto: yahoo.com)"",""pubdate"":""1347263235"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/09/10/7975b78420875bb7013fb52fcf292682.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""15035"",""title"":""Para wanita Anti Chelsea"",""summary"":""Kalau sudah 'musuhan' dengan salah satu klub, tak hanya klub dan pemainnya yang mereka jauhi, fansnya pun begitu. Inilah ekspresi ketidak sukaan beberapa wanita terhadap…"",""pubdate"":""1346406240"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/08/31/4193f0e8eae6a7ca3a2c41b93350d4eb.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""14822"",""title"":""Fans Manchester City Pakai Jubah"",""summary"":""Manchester City adalah klub besar juara Liga Primer 2011/2012 yang dikenal dimiliki pengusaha Uni EMirat Arab, Syeikh Mansour. Tak heran kalau fansnya pun menggunakan jubah…"",""pubdate"":""1345545627"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/08/21/5dd5f465c46975ca775f2e1a1f7547e1.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""14432"",""title"":""Fans Meksiko"",""summary"":""Fans Meksiko tumpah ruah di London, mendampingi tim sepakbolanya yang lolos ke semifinal dan akan menghadapi Jepang, Selasa (7/8)"",""pubdate"":""1344238737"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/08/06/b7a125a8da4fb0027cfb9d95a326916d.JPG&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""14379"",""title"":""Gaya Fans di Olimpiade 2012"",""summary"":""Olimpiade merupakan salah satu event besar yang selalu menyedot perhatian dunia. Berbagai cabang olahraga dipertandingkan di event ini tak hanya seopakbola yang jadi perhatian, balap…"",""pubdate"":""1343981150"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/08/03/dc7e5405b51fdb523eff2c6113c0d269.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""14281"",""title"":""Mana Beckham?"",""summary"":""David Beckham berharap dapat memperkuat tim sepakbola Great Britania di Olimpiade 2012 London. Tapi, pelatih Stuart Pearce tak memilihnya. Alhasil, Beckham kesal, fansnya pun ikut protes."",""pubdate"":""1343710690"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/07/31/19ff21fe59247fd62168abdb21ae5dca.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]},{""id"":""14201"",""title"":""Suporter Jepang di Olimpiade 2012"",""summary"":""Tim sepakbola Jepang merupakan juara bertahan peraih medali emas Olimpiade. Nah, di Olimpiade 2012 kali ini Jepang berusaha keras mengulang suksesnya."",""pubdate"":""1343491823"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/07/28/15c11d39e649e3a9c39deaeb4a9b0338.jpg&zc=1"",""breadcrumb"":[{""id"":""11"",""name"":""Gallery""},{""id"":""16"",""name"":""Hot""},{""id"":""19"",""name"":""Fans""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/19/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/19/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/19/20"",""Last|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/19/100""]}]
            ";
            Fans = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    Fans.Add(model);
                    AllItems.Add(model);
                }
            }
            inputString = @"
                [{""data"":[{""id"":""17690"",""title"":""Futsal Babes Interview: Nova Prihantina (Part 1)"",""summary"":""Wawancara dengan pemain futsal sekaligus penjaga gawang Jaya Kencana Angels Futsal Club, Nova Prihantina."",""pubdate"":""1354870080"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/607d1d888afd96b2a6950d19fd1a3e07.jpg&zc=1"",""youtube"":""36RP3zdjOJg"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""16898"",""title"":""Futsal Babes Interview: Sanda Garini (Part 1)"",""summary"":""Berikut ini adalah video interview dengan pemain futsal dan kiper tim futsal putri Adjie Massaid futsal club, Sanda Garini. Eksklusif dari Bolalob.com buat para futsal…"",""pubdate"":""1352296320"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/11/07/8c0fcb574d6efb487ba3d217c952897b.jpg&zc=1"",""youtube"":""GznpuFF_vhk"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""16581"",""title"":""Sumpah Pemuda Di Mata Para Futsal Mania"",""summary"":""Sumpah Pemuda? Apa sih maknanya menurut para remaja penggila futsal? Ini video makna sumpah pemuda menurut pandangan mereka."",""pubdate"":""1351389840"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/10/28/7199f682e949c60f792ea441643971a9.jpg&zc=1"",""youtube"":""6CHpWrjUFUs"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""16157"",""title"":""Futsal Babes Interview: Qinthara Nabigha (Part 1)"",""summary"":""Berikut ini adalah video interview dengan pemain futsal putri Adjie Massaid futsal club, si cantik Qinthara Nabigha. Eksklusif dari Bolalob.com buat para futsal mania. Enjoy!"",""pubdate"":""1350057720"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/10/12/fc4427f300651204b06270a8c438930c.jpg&zc=1"",""youtube"":""nHzWLvZ2Db4"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""15854"",""title"":""Video Highlights 1 Mitre LIFUMA 2012"",""summary"":""Video Highlights Mitre LIFUMA 2012 seri pertama yang berlangsung dari tanggal 26-29 September 2012 di GOR Ciracas, Jakarta Timur. Total 25 pertandingan yang telah dilangsungkan…"",""pubdate"":""1349149740"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/10/02/491bfa0a3d6734b53f0e2752d8b180be.jpg&zc=1"",""youtube"":""aptswD-4d5Q"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""15555"",""title"":""Video Preview LIFUMA 8 2012 (Part I)"",""summary"":""Beberapa perwakilan tim kampus membeberkan persiapan dan target mereka pada LIFUMA 8 2012 saat Technical meeting pertama di bilangan Slipi, Jakarta Barat, Rabu (19/9)."",""pubdate"":""1348215840"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/09/21/5639c04a7a65cd30ab37ec05a3554b93.jpg&zc=1"",""youtube"":""gWOqClID1CM"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""15087"",""title"":""Wawancara Coach Sergio Gargelli di Jakarta"",""summary"":""Sergio Gargelli adalah pelatih futsal asal Italia, sekaligus instruktur yang memiliki lisensi kepelatihan UEFA. Ia memberikan coaching clinic di Jakarta pada 1-2 Agustus 2012 di…"",""pubdate"":""1346649300"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/09/03/a0cadf1bed0f6ffc9016957fe913d6b8.jpg&zc=1"",""youtube"":""0MWzBK2LslE"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13444"",""title"":""Prediksi dari Velkomtua Partai Final Euro 2012 Spanyol vs Italia"",""summary"":""Ini dia prediksi dari Velkomtua untuk partai puncak Euro 2012 antrara Spanyol vs Italia yang digelar Senin dinihari WIB. Cekidot!"",""pubdate"":""1341068066"",""youtube"":""lf6uP9RHoYQ"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13400"",""title"":""Prediksi Velkomtua Semifinal Jerman vs Italia"",""summary"":""Ini dia prediksi dari kelompok anak muda kreatif Velkomtua untuk pertandingan semifinal Piala Eropa 2012, Jerman vs Italia, Jumat dinihari ini. Cekidot!"",""pubdate"":""1340885774"",""youtube"":""IiYYYvltjrI"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13373"",""title"":""Prediksi Velkomtua Pertandingan Portugal vs Spanyol, Lucu!"",""summary"":""Ini dia prediksi kelompok anak muda Velkomtua untuk pertandingan semifinal Portugal vs Spanyol. Siapa yang bakal menang? Cek aja di video ini."",""pubdate"":""1340802869"",""youtube"":""R8ztrRIgXRE"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13312"",""title"":""Prediksi Velkomtua Italia vs Inggris"",""summary"":""Kelompok anak muda kreatif Velkomtua memprediksi perempat final Euro 2012 antara Italia vs Inggris, Senin dinihari WIB,? dimenangkan oleh Italia, kita nantikan saja!"",""pubdate"":""1340543347"",""youtube"":""w7-HjmU6BWY"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13286"",""title"":""Video Prediksi Spanyol VS France Dengan Cara Memecahkan Biji By Velkomtua"",""summary"":""Tidak patah semangat, mungkin inilah kata yang tepat untuk mereka (Velkomtua) dalam mencoba memprediksikan laga-laga seru pada babak perdelapan final Euro 2012."",""pubdate"":""1340442000"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/06/23/9ce04f421db2ee92c2a9d76ea676799d.jpg&zc=1"",""youtube"":""VSTU4Q_MPXU"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13271"",""title"":""(Video) Prediksi Velkomtua Partai Jerman vs Yunani"",""summary"":""Woow woow wooow ini salah satu prediksi (jitu) dari para anak muda kreatif untuk perempat final Piala Eropa 2012. Dengan segala bentuk kreatifitasnya, mereka yang…"",""pubdate"":""1340372940"",""youtube"":""0EZUPemBOEQ"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""13251"",""title"":""Prediksi Gila Mengenai Pertandingan Ceko VS Portugal (velkomtua)"",""summary"":""Kalau anda pernah mendengar Paul Si Gurita atau Seekor burung parkit yang bisa meramal siapakah team yang akan memenangkan sebuah pertandingan dalam sebuah laga sepakbola…"",""pubdate"":""1340299440"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/06/22/26ed8c7928b3fb16efb40d229dcb1b6f.jpg&zc=1"",""youtube"":""ClQNFwPrd3E"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""12924"",""title"":""Prediksi 'Celebrity Couples' Darius & Donna tentang Piala Eropa 2012"",""summary"":""Profesi sebagai sport news anchor mungkin tak lagi digeluti, krn mungkin mereka telah bergelut satu sama lain. Namun soal tim yang dijagokan oleh celebrity couples…"",""pubdate"":""1339078560"",""image"":""http://www.bolalob.com/public/img/timthumb.php?src=news/2012/06/07/5bbee20b1abb6fc3dbad6fd0e36bd999.jpg&zc=1"",""youtube"":""XNx6a72hGU0"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""12852"",""title"":""Juventini asli dari Turin"",""summary"":""Ini Juventini asli dari Turin dan tinggal di Jakarta."",""pubdate"":""1338792024"",""youtube"":""OQlvjxEuwcg"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""12350"",""title"":""Pocari Sweat Futsal Championship 2012"",""summary"":""Pocari Sweat Futsal Championship 2012"",""pubdate"":""1337009940"",""youtube"":""WD2mPg7Z6Xg"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""12103"",""title"":""Kit Futsalismo 2012"",""summary"":""Statemen dari penyelenggara Kit Futsalismo 2012"",""pubdate"":""1336057049"",""youtube"":""qJr5GLXsvho"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""12028"",""title"":""Parodi preview kuis tebak menit Man-City vs MU"",""summary"":""Partai yang menentukan gelar Liga Primer musim ini antara Man-City vs MU pada Selasa (1/5) dinihari WIB."",""pubdate"":""1335792841"",""youtube"":""1cXmJoQDft0"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]},{""id"":""11901"",""title"":""Kocak! Preview Barca vs Chelsea Untuk kuis #tebakmenit"",""summary"":""Ini kuis tebakmenit leg kedua semifinal Liga Champions 2012."",""pubdate"":""1335282780"",""youtube"":""jxW76mCJizY"",""breadcrumb"":[{""id"":""62"",""name"":""BolalobTV""}]}],""paging"":[""1"",""2|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/62/20"",""3|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/62/40"",""Next|http://www.bolalob.com/api.php/news/category/api.key.28923403350bc3d2064499/api.secret.196798694850bc3d2064516/62/20""]}]
            ";
            BolalobTV = new ObservableCollection<ItemViewModel>();
            root = JsonConvert.DeserializeObject<RootObject[]>(inputString);
            foreach (var item in root)
            {
                foreach (var dat in item.data)
                {
                    ItemViewModel model = new ItemViewModel();
                    model.Url = "http://www.bolalob.com";
                    model.Id = dat.id;
                    model.Content = dat.summary;
                    model.View = Int32.Parse(dat.pubdate);
                    model.Title = dat.title;
                    model.Description = "";
                    model.Image = dat.image;
                    BolalobTV.Add(model);
                    AllItems.Add(model);
                }
            }
            //Story = new ObservableCollection<ItemViewModel>();
            //XDoc = XDocument.Load("story.xml");
            //foreach (var member in XDoc.Descendants("item"))
            //{
            //    ItemViewModel item = new ItemViewModel();
            //    item.Url = member.Element("url_alias").Value;
            //    item.Id = member.Element("node_id").Value;
            //    item.Content = member.Element("body").Value;
            //    item.Content = cutUselessChar(item.Content);
            //    item.View = Convert.ToInt32(member.Element("view_count").Value);
            //    item.Title = member.Element("title").Value;
            //    item.Description = member.Element("description").Value;
            //    foreach (var members in member.Descendants("image"))
            //    {
            //        item.Image = members.Element("medium").Value;
            //    }
            //    Story.Add(item);
            //    AllItems.Add(item);
            //}
            //this.Items.Add(new ItemViewModel() { Title = "runtime one", Description = "Maecenas praesent accumsan bibendum", Content = "Facilisi faucibus habitant inceptos interdum lobortis nascetur pharetra placerat pulvinar sagittis senectus sociosqu" });

            InfoItems = new ObservableCollection<ItemViewModel>();
            this.InfoItems.Add(new ItemViewModel() { Id = "1", Title = "Ayah Pemain Chelsea John Obi Mikel Diculik", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2011/08/15/a55b0f5bdbac4116bd872e7180c7d2d3.jpg&zc=1&w=667", Description = "Sungguh berat perjuangan John Obi Mikel.", Content = "Sungguh berat perjuangan John Obi Mikel. Ia tetap ikut bermain ketika Chelsea bertanding imbang 0-0 di Stoke City pada Minggu, sambil berjuang mengatasi masalah soal berita ayahnya diculik di Nigeria pekan lalu, kata manajemen gelandang tersebut, Senin. Pemain internasional Nigeria, yang nyaris mencetak gol dalam pertandingan pertama klubnya musim ini dengan tembakan voli jarak jauh yang memaksa penjaga gawang Asmir Begovic membuangnya ke atas mistar gawang, memutuskan tetap bermain meskipun mengetahui bahwa ayahnya hilang pada Jumat. 'Sejauh ini belum ada permintaan tebusan yang diterima,' kata Sport Entertainment & Media Group dalam sebuah pernyataan. 'Mikel sudah diberitahu oleh manajernya sebelum pertandingan Stoke lawan Chelsea dan memutuskan untuk bermain agar tidak mengecewakan tim dan keluarganya.' Bukan pertama kalinya keluarga pemain Liga Premier diculik di Nigeria, setelah saudara laki-laki mantan pemain belakang Everton Joseph Yobo diculik pada 2008. (Ant)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "2", Title = "Pemain Spanyol Boleh Pakai Twitter", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/06/04/fffbdbd10815933e79aa4cd529ae3c76.jpg&zc=1&w=667", Description = "Pemain Spanyol diperbolehkan menggunakan jejaring sosial twitter saat bertarung mempertahankan mahkota juaranya di Euro 2012", Content = "Pemain Spanyol diperbolehkan menggunakan jejaring sosial twitter saat bertarung mempertahankan mahkota juaranya di Euro 2012. Pelatih La Furia Roja Vicente Del Bosque memutuskan tetap membolehkan pemainnya menggunakan jejaring sosial itu. Menurutnya, pemakaian jejaring sosial itu tidak akan berpengaruh pada penampilan skuadnya. Keputusan itu langsung disambut gembira oleh skuad Spanyol. Gelandang Barcelona, Cesc Fabregas pun langsung berkicau dalam twitternya. 'Kabar baik! Akhirnya kami dibolehkan menggunakan jejaring sosial. Dengan begitu kami akan selalu berkomunikasi dengan khalayak selama Euro 2012,' Demikian kicau Fabregas. Kiper kedua sekaligus rekan Fabregas di klub, Victor Valdes, menyambut gembira keputusan Del Bosque. 'Hai semua, kita akhirnya boleh tetap berhubungan selama Euro,' tulis Valdes. Apakah keputusan akan memberi dampak positif bagi Spanyol? Jawabnya akan diketahui apakah Spanyol sukses mempertahankan gelar juaranya atau tidak. (foto: yahoo)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "3", Title = "Gak Bisa ke Polandia, Coleen Pilih ke Ibiza", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/06/06/8cf8a1657000f79adf3b554a97d37d1c.jpg&zc=1&w=667", Description = "Tim Inggris tak mengizinkan WAGS ikut mendampingi pasangannya selama Euro 2012", Content = "Tim Inggris tak mengizinkan WAGS ikut mendampingi pasangannya selama Euro 2012. Asisten manajer Gary Neville tegaskan Inggris tak ingin mengulangi kesalahan pada Piala Dunia 2006. Para pemain lebih disibukkan dengan kegiatan belanja para istri maupun pasangannya. Karena tak bisa mendampingi para suami, WAGS pun punya kesibukan masing-masing. Tidak kehilangan Coleen Rooney yang berlibur ke Ibiza. Padahal, istri striker Wayne Rooney ini sudah menghabiskan liburan di Las Vegas bersama suami dan anaknya. Kali ini, ia berhura-hura ke Ibiza bersama Leanne, sepupu Rooney. Kebetulan lagi keduanya memang akrab. Dan, Leanne yang hendak melangsungkan pernikahannya ingin melepas masa bujang dengan berpesta bersama saudara ipar. Mereka pun tampil seksi bersama rekan-rekannya. Semua mengenakan bikini hitam sehingga memperlihatkan bodi yang rata-rata seksi. Coleen memang gemar berlibur. Bila tidak bersama suami dan anaknya, dia menghamburkan uang bersama teman-temannya. Maklum penghasilan Rooney yang tinggi membuat Coleen dengan gampang merogoh kocek. Apalagi, dia juga punya penghasilan yang tidak kalah tinggi lewat modeling dan desainer. (foto: the sun)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "4", Title = "Maskapai Garuda Indonesia Sponsori Liverpool", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/07/11/c834d2e6df4fecc900385102dbd0a5d1.jpg&zc=1&w=667", Description = "Kiprah Indonesia di kancah sepakbola dunia semakin bertambah dengan dipastikannya perusahaan maskapai penerbangan PT Garuda Indonesia Tbk", Content = "Kiprah Indonesia di kancah sepakbola dunia semakin bertambah dengan dipastikannya perusahaan maskapai penerbangan PT Garuda Indonesia Tbk menjalin kerjasama sponsorship dengan Liverpool. Melalui penandatanganan itu, Garuda Indonesia secara resmi menjalin kerjasama marketing dan sponsorship agreement di Liverpool. Sebelumnya beberapa perusahaan besar Indonesia juga telah menggandeng klub-klub besar Eropa seperti Bank Danamon (Manchester United), Bank BNI (Chelsea), dan Kacang Dua Kelinci (Real Madrid). Seperti dalam keterangan persnya manajemen PT Garuda Indonesia, Rabu (11/7), penandatanganan kerjasama (MoU) itu telah dilakukan, Senin (9/7). Melalui perjanjian itu, Garuda Indonesia diberikan hak untuk menjadi 'Official Partner of Liverpool Football Club' dan 'Official Global Airline Partner of Liverpool Football Club'. Nama Garuda Indonesia sempat muncul di dinding iklan Stadion Wembley. Saat itu, perseroan dengan slogan Airline of Indonesia muncul saat pertandingan persahabatan antara tim nasional Inggris melawan Belgia jelang Euro 2012 di Polandia/Ukraina. (foto: yahoo)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "5", Title = "Gara-Gara Petasan, Rumah Balotelli Kebakaran", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2011/10/23/db890b29fca4eeb68ff8c8ae7031c48f.jpg&zc=1&w=667", Description = "Si 'Gila' Mario Balotelli bikin gara-gara lagi", Content = "Si 'Gila' Mario Balotelli bikin gara-gara lagi. Tapat sehari jelang partai derby panas antara Manchester United kontra Manchester City, rumah Balotelli di Manchester kebakaran. Kebakaran terjadi Sabtu dinihari sekitar pukul 2 pagi. DIduga penyebabnya adalah kembang api milik pemain Man-City ini meledak di kamar mandi yang menyebabkan alerm rumah segera bunyi. Dua mobil pemadam kebakaran datang ke rumah pemain kerutunan Ghana ini. Empat petugas masuk dengan masker dan bisa menjinakkan si jago merah. 'Para petugas berhasil memadamkan api dalam waktu setengah jam. Tapi mereka tetap di lokasi kejadian hingga pukul 02.45 dini hari untuk mencegah api muncul kembali,' kata ujar juru bicara pemadam setempat. Dalam kejadian ini, Balotelli tidak ditahan, hanya dimintai keterangan. Jadi pemain nyentrik ini masih bisa dimainkan pada partai besar MU vs Man-City, mingg (23/10) malam." });
            this.InfoItems.Add(new ItemViewModel() { Id = "6", Title = "Mourinho Ajukan Tuntutan Kepada Jurnalis Marca 21/09/2012", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/09/21/e62b57ab91ebef9bde1ee538a63d4d9e.jpg&zc=1&w=312&h=252", Description = "Pelatih Real Madrid, Jose Mourinho mengajukan tuntutan untuk jurnalis harian Marca asal Spanyol, Roberto Palomar.", Content = "Pelatih Real Madrid, Jose Mourinho mengajukan tuntutan untuk jurnalis harian Marca asal Spanyol, Roberto Palomar. Palomar sebelumnya membuat artikel di harian Marca edisi 17 September dan menyebut Mourinho sebagai orang yang tak bertanggung jawab pergi setelah menimbulkan kerusakan. Mourinho merasa Palomar sudah melewati batas dalam memilih kata-kata dalam membuat artikel tersebut. 'Mourinho mengerti atas pentingnya hak kebebasan berekspresi, dan ia takkan pernah mengambil langkah jika kritikan tersebut disampaikan dengan baik,' isi dari pernyataan pengacara Mourinho. Sebelumnya, Mourinho juga mengajukan tuntutan untuk jurnalis El Pais, Charles Bouvier yang menyebut Mou sebagai 'Nazi Portugis'. (Foto:Reuters)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "7", Title = "Jam Tangan Wasit Penentu Gol", Image = "http://www.bolalob.com/bolatainment/hot-gossip/berita-jam-tangan-wasit-penentu-gol-17717", Description = "Teknologi garis gawang kini tengah dicoba oleh FIFA dalam Kejuaraan…", Content = "Teknologi garis gawang kini tengah dicoba oleh FIFA dalam Kejuaraan Dunia Antar Klub di Jepang. Bukan cuma tujuh kamera yang akan memantau terus, menetukan bola sudah masuk atau belum, wasit pun akan diberi kabar secepatnya lewat getaran dari jam tangan. Jam tangan dari teknologi yang diprodukti Hawk-Eye ini hanya membutuhkan waktu sekitar satu detik untuk mengabarkan kepada wasit telah terjadi gol atau belum. Jika bergetar maka gol sudah terjadi. FIFA memutuskan untuk menggunakan garis gawang setelah mempelajari gol Frank Lampard saat membela timnas Inggris, ke gawang Jerman pada Piala Dunia 2010. Dengan alat ini, maka akurasi terjadinya gol jadi sangat tinggi. Pertanyaannya, apakah jam tangan wasit ini bakal jual secara bebas? Yang satu ini belum dijawab oleh produsennya. (Foto: Thesun)." });
            this.InfoItems.Add(new ItemViewModel() { Id = "8", Title = "Tom Cleverley Tahun Depan Punya...", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/10f654c6ad260335d4c77bcc55002341.jpg&zc=1&w=144&h=100", Description = "Pemain Manchester United, Tom Cleverley kini tengah bahagia. Pasalnya, gandengannya…", Content = "Pemain Manchester United, Tom Cleverley kini tengah bahagia. Pasalnya, gandengannya Georgina Dorsett kini sudah hamil 12 minggu. Georgina yang berusia 28 tahun adalah mantan foto model dan sejak bulan Mei menjalin asmara dengan Tom yang merupakan pemain timnas Inggris. Saat liburan Juni lalu, mereka terlihat bersama di Dubai dan kini tinggal bersama di Manchester. 'Mereka tampak bahagia,' kata salah satu pemain MU di ruang ganti. (Foto: thesun)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "9", Title = "Balotelli Dikaruniai Seorang Putri, Little…", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/07/96a0f4994aa73de95ea466786a97f1d4.jpg&zc=1&w=144&h=100", Description = "Kabar menggembirakan datang dari Naples Italia, Raffaela Fico kekasih Mario…", Content = "Kabar menggembirakan datang dari Naples Italia, Raffaela Fico kekasih Mario Balotelli dikabarkan sudah melahirkan seorang anak perempuan Rabu malam waktu setempat. Fico yang sebenarnya diprediksi baru akan melahirkan pada malam natal nanti, ternyata waktu kelahirannya 3 minggu lebih cepat setelah ia mengalami kontraksi pada Rabu malam dan segera dilarikan ke rumah sakit bersama ibunya. Laporan dari Italia menyatakan jika Fico melahirkan disebuah klinik pribadi yang bernama Clinica Mediterranea di Naples. Bayi Fico dan Balotelli memiliki berat 3,8 kg dan didaftarkan atas nama ibunya. Terkait berita membahagiakan ini, Balotelli belum secara resmi belum mengeluarkan pernyataannya. Namun, dari sebuah sumber di Manchseter City menyatakan jika Balotelli sangat gembira dengan kelahiran anaknya tersebut. Apapun itu, selamat yah Super Mario atas kelahiran putrinya. (Foto: google.com)" });
            this.InfoItems.Add(new ItemViewModel() { Id = "10", Title = "Casillas Pensiun Setelah Piala Dunia…' ", Image = "http://www.bolalob.com/public/img/timthumb.php?src=news/2012/12/06/efb2a28df5d31d28a41e62cf0ed2dd08.jpg&zc=1&w=144&h=100", Description = "Beberapa anggota generasi emas sepak bola Spanyol akan mengakhiri karir…", Content = "Beberapa anggota generasi emas sepak bola Spanyol akan mengakhiri karir internasional mereka setelah Piala Dunia 2014, demikian disampaikan kiper veteran Iker Casillas pada Rabu. Casillas (31), pemain yang membawa Spanyol menjuarai Piala Dunia dan dua Piala Eropa, menambahkan bahwa itu akan menjadi masa bagi generasi yang lebih muda untuk mengambil alih tongkat estafet. 'Banyak dari kami yang akan pensiun dari tim nasional setelah Piala Dunia,' kata Casillas. 'Generasi yang lebih muda akan menggantikan kami. Itulah mengapa kembali menjuarai Piala Dunia akan menjadi cara yang indah untuk mengundurkan diri.' Walau demikian, Casillas mengatakan dirinya sangat bertekad tetap bermain dengan Real Madrid sampai kontraknya habis pada 2017. 'Saya akan bermain sepanjang kepala saya mengatakan demikian,' ucapnya. 'Pada akhirnya, mengenakan atau melepaskan (kostum sepak bola) lebih ditentukan kepala daripada badan.' 'Untuk saat ini rencana saya adalah bermain sampai kontrak saya berakhir.' Casillas, yang telah mendekati penampilan ke-150 untuk timnas sejak melakukan debutnya pada 2000, mengatakan jika bermain untuk klub lain maka klub itu dipastikan bukan klub Spanyol. 'Bermain selain di Real? Untuk saat ini saya bahkan belum memikirkannya,' kata Casillas, yang melakukan debut untuk Real pada 1999. 'Ini adalah klub dan rumah saya, dan jika di masa depan, saya pindah, maka itu akan dilakukan ke luar Spanyol dan klubnya tidak berkompetisi secara langsung dengan Real.' (Foto: yahoo.com)" });            

            this.IsDataLoaded = true;
        }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}